You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: free in garbage data pointer; fix: Zygiskd wrong message length
This commit fixes the issue where "free" would be executed in a pointer which has garbage data, leading to crashes. This was fixed by setting to NULL, so that it's clean. It also fixes the issue where Zygiskd messages for "DAEMON_SET_INFO" would not count the NULL-terminator, causing crashes.
This commit is contained in:
@@ -117,8 +117,8 @@ struct Status {
|
||||
bool zygote_injected = false;
|
||||
bool daemon_running = false;
|
||||
pid_t daemon_pid = -1;
|
||||
char *daemon_info;
|
||||
char *daemon_error_info;
|
||||
char *daemon_info = NULL;
|
||||
char *daemon_error_info = NULL;
|
||||
};
|
||||
|
||||
Status status64;
|
||||
|
||||
Reference in New Issue
Block a user