Skip to content

Commit

Permalink
Fix null dereference on control service
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmacete committed Oct 11, 2024
1 parent 557aefc commit 2778c3f
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 2778c3f

Please sign in to comment.