mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-15 18:10:23 +00:00
Use our own function to parse int
This commit is contained in:
@@ -177,7 +177,7 @@ int su_client_main(int argc, char *argv[]) {
|
||||
if (pw)
|
||||
su_req.uid = pw->pw_uid;
|
||||
else
|
||||
su_req.uid = atoi(argv[optind]);
|
||||
su_req.uid = parse_int(argv[optind]);
|
||||
optind++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user