diff options
author | lu4nx <lx@shellcodes.org> | 2022-11-25 14:38:29 +0800 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2023-02-17 11:20:42 +0100 |
commit | 5d05ea803e9996c4c1edbe0fa0f6f5b05d2ffc87 (patch) | |
tree | be0fad63b9df6d2dbbefd8d1e787fb00304bda3c /lisp/emacs-lisp/regexp-opt.el | |
parent | 22fb5ff5126dc8bb01edaa0252829d853afb284f (diff) | |
download | emacs-5d05ea803e9996c4c1edbe0fa0f6f5b05d2ffc87.tar.gz emacs-5d05ea803e9996c4c1edbe0fa0f6f5b05d2ffc87.tar.bz2 emacs-5d05ea803e9996c4c1edbe0fa0f6f5b05d2ffc87.zip |
Fixed ctags local command execute vulnerability
* lib-src/etags.c:
(clean_matched_file_tag): New function
(do_move_file): New function
(readline_internal):
Add `leave_cr` parameter, if true, include the \r character
* test/manual/etags/CTAGS.good_crlf: New file
* test/manual/etags/CTAGS.good_update: New file
* test/manual/etags/crlf: New file
* test/manual/etags/Makefile: Add `ctags -u` test cases
(cherry picked from commit d48bb4874bc6cd3e69c7a15fc3c91cc141025c51)
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions