]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: sanitize 'open' arguments: simple commands, readable and writable
authorJohannes Sixt <j6t@kdbg.org>
Fri, 21 Mar 2025 22:34:14 +0000 (23:34 +0100)
committerTaylor Blau <me@ttaylorr.com>
Fri, 23 May 2025 21:03:30 +0000 (17:03 -0400)
commit2aeb4484a046a545fb540ba07397b25b13fe6881
tree1aa7275707c95949e05f82ecd360b7b6609e0b76
parent42a64b41a7a3d01a62f0f34f75bee2bbd00be46f
gitk: sanitize 'open' arguments: simple commands, readable and writable

As in the previous commits, introduce a function that sanitizes
arguments and also keeps the returned file handle writable to pass
data to stdin.

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