mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-21 23:25:33 -04:00
5b8fdb4998cfa8f878c6f1f26be6e1efc2ccda05
Substituting into a shell command-line without escaping is a bad idea. If the argument is attacker-controlled, it's a security vulnerability; if the argument is legitimate-user-controlled (as I think it is here) it's merely wrong. We could escape the filename with g_shell_quote(), but it's more straightforward to take advantage of the shell's argument processing. The first positional parameter (if given) is $0, and the rest are $@. Signed-off-by: Simon McVittie <smcv@debian.org>
Flatpak
Flatpak is a system for building, distributing and running sandboxed desktop applications on Linux.
See http://flatpak.org/ for more information.
Read documentation for the flatpak commandline tools and for the libflatpak library API.
Languages
C
91.1%
Shell
6.1%
Meson
1.1%
Python
0.9%
Yacc
0.8%