]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: sanitize 'exec' arguments: 'eval exec'
authorJohannes Sixt <j6t@kdbg.org>
Sat, 29 Mar 2025 15:51:29 +0000 (16:51 +0100)
committerTaylor Blau <me@ttaylorr.com>
Fri, 23 May 2025 21:03:30 +0000 (17:03 -0400)
commit88139a617f3fe768ff8d026031811855906b69bc
tree5d9d388d597e2106fd9973cdfd6bf1c0a411238d
parent9f0d1c2f7d2543cd2549cbc26e142fd199f18b45
gitk: sanitize 'exec' arguments: 'eval exec'

Convert calls of 'exec' where the arguments are already available in
a list and 'eval' is used to unpack the list. Use 'concat' to unite
the arguments into a single list before passing them to 'safe_exec'.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
gitk