• 石松洲's avatar
    Fix UB when remote process died · e8787b5c
    石松洲 authored
    If remote process died, `xreadlink` fails and leaves `buf` uninitialized. Then the daemon calls `str_ends`, creates a temp `std::string_view` with the uninitialized buffer and undefined behavior occurs.
    e8787b5c
Name
Last commit
Last update
..
deny Loading commit data...
api.hpp Loading commit data...
entry.cpp Loading commit data...
gen_jni_hooks.py Loading commit data...
hook.cpp Loading commit data...
jni_hooks.hpp Loading commit data...
main.cpp Loading commit data...
memory.cpp Loading commit data...
memory.hpp Loading commit data...
module.hpp Loading commit data...
ptrace.cpp Loading commit data...
ptrace.hpp Loading commit data...
utils.cpp Loading commit data...
zygisk.hpp Loading commit data...