bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability


From: lux
Subject: bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability
Date: Sun, 27 Nov 2022 14:35:01 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

Sorry, this is new patch, I fix a bug.

The `rename` function, if trying to rename a file across filesystem or device, it's not work, and give the EXDEV erorr:

    Invalid cross-device link

So, I add a new function `do_move_file`: if the rename fails, copy a new file, and unlink source file.

Attachment: 0001-Fixed-ctags-local-command-execute-vulnerability.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]