Magisk/native/jni/su
canyie 448384af06 Guard su request IPC
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
2022-04-06 21:15:07 -07:00
..
connect.cpp Add preliminary shared UID app support 2022-03-25 13:08:13 -07:00
pts.cpp Guard su request IPC 2022-04-06 21:15:07 -07:00
pts.hpp Use isolated devpts if kernel support 2021-08-29 02:45:49 -07:00
su_daemon.cpp Guard su request IPC 2022-04-06 21:15:07 -07:00
su.cpp Reduce C++ wizardry 2022-03-01 03:15:38 -08:00
su.hpp Add preliminary shared UID app support 2022-03-25 13:08:13 -07:00