-
石松洲 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 |
---|---|---|
.. | ||
applet_stub.cpp | ||
applets.cpp | ||
bootstages.cpp | ||
core.hpp | ||
daemon.cpp | ||
db.cpp | ||
logging.cpp | ||
magisk.cpp | ||
module.cpp | ||
restorecon.cpp | ||
scripting.cpp | ||
socket.cpp | ||
thread.cpp |