Skip to content

Commit

Permalink
Fix null dereference in frida-server at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmacete committed Aug 20, 2024
1 parent 2ebec1a commit f4f4248
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/netif/tunnel-interface-observer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public class Frida.TunnelInterfaceObserver : Object, DynamicInterfaceObserver {
}

private void handle_interface_changes (CoreFoundation.Array changed_keys) {
if (changed_keys == null)
return;

var addresses_str = CoreFoundation.String.make ("Addresses");

foreach (var key in CFArray.wrap<CoreFoundation.String> (changed_keys)) {
Expand Down

0 comments on commit f4f4248

Please sign in to comment.