Files
Magisk/app
topjohnwu 4384cf49fa app: don't pass file names through the shell
The module zip's display name and path were pasted into the root shell
command that runs the installer, inside single quotes. The display name
comes from the content provider, which belongs to another app for
external install requests. A name with an apostrophe broke the install,
and a crafted name could run arbitrary commands as root.

Print the header line directly to the terminal instead of with echo,
without control characters, and quote the paths with a new
shellQuoted() helper, which also replaces the manual escaping in
runSuCommand.

Assisted-by: Claude Opus 5.5
2026-10-24 13:01:45 -07:00
..
2025-06-16 02:17:29 -07:00
2025-06-16 02:17:29 -07:00