Skip to content

Commit

Permalink
control-service: Fix null dereference on incoming connection (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmacete authored Oct 11, 2024
1 parent 557aefc commit 690cc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control-service.vala
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ namespace Frida {
#endif

ConnectionHandler handler;
unowned string iface_name = dynamic_iface.name;
unowned string iface_name = dynamic_iface?.name;
if (iface_name != null) {
handler = dynamic_interface_handlers[iface_name];
if (handler == null) {
Expand Down

0 comments on commit 690cc30

Please sign in to comment.