frida / frida-python

Frida Python bindings
Other
766 stars 145 forks source link

fix: deallocating None #203

Closed rev1si0n closed 2 years ago

rev1si0n commented 2 years ago
Fatal Python error: deallocating None
...
Aborted

reproduce by command (may be no one use like that :)

python3  -c "import frida; dm = frida.get_device_manager(); list([dm.add_remote_device('127.0.0.1') for i in range(99999)])"
oleavr commented 2 years ago

Thanks! The issue here is that we're releasing a reference that we don't own -- and this mistake was done twice in the same function. Oops! Just fixed it in f85ffbf3d07426e0fb2f80145fdb229b059dd67f and will cut a release soon.