• 石松洲's avatar
    Guard su request IPC · 448384af
    石松洲 authored
    Previously `read_string()` calls `std::string.resize()` with a int read from remote process. When I/O error occurs, -1 will be used for resizing the string, `std::bad_alloc` is thrown and since magisk is compiled with `-fno-exceptions`, it will crash the whole daemon process.
    
    May fix topjohnwu#5681
    448384af
Name
Last commit
Last update
..
core Loading commit data...
external Loading commit data...
include Loading commit data...
init Loading commit data...
magiskboot Loading commit data...
magiskpolicy Loading commit data...
resetprop Loading commit data...
su Loading commit data...
utils Loading commit data...
zygisk Loading commit data...
.gitignore Loading commit data...
Android.mk Loading commit data...
Application.mk Loading commit data...
lto_fix.lds Loading commit data...