mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-18 21:55:22 -04:00
completion: Always pass a format string to flatpak_completion_debug
In principle this could have been subject to a format string attack via an argument containing %n, although in practice the code that uses this format string is #if 0. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Alexander Larsson
parent
3d5725f9d3
commit
0592caca8a
@@ -632,7 +632,7 @@ flatpak_completion_new (const char *arg_line,
|
||||
|
||||
flatpak_completion_debug ("completion_argv %i:", completion->original_argc);
|
||||
for (i = 0; i < completion->original_argc; i++)
|
||||
flatpak_completion_debug (completion->original_argv[i]);
|
||||
flatpak_completion_debug ("%s", completion->original_argv[i]);
|
||||
|
||||
flatpak_completion_debug ("----");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user