]> git.eshelyaron.com Git - emacs.git/commit
Fix etags local command injection vulnerability
authorlu4nx <lx@shellcodes.org>
Tue, 6 Dec 2022 07:42:40 +0000 (15:42 +0800)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Dec 2022 16:07:45 +0000 (18:07 +0200)
commit01a4035c869b91c153af9a9132c87adb7669ea1c
tree16fc8c5c285a51e3b360de5955c76d437486a4e3
parented4734405dfbe26d3da7cedc4e4cd599618bf6ee
Fix etags local command injection vulnerability

* lib-src/etags.c: (escape_shell_arg_string): New function.
(process_file_name): Use it to quote file names passed to the
shell.  (Bug#59817)
lib-src/etags.c