CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2023/11/20 10:56:22

Modified files:
        usr.bin/patch  : Tag: OPENBSD_7_4 patch.c 

Log message:
Fix unveil(2) in patch(1) with explicit patchfile.

A backup file should be created in the directory of the original
file, but only the current directory was unveiled.  Then the patched
file was created in /tmp and did not replace the original patchfile
in place.  If a patchfile is passed in argv[0], unveil its directory
instead of current directory.

OK florian@ deraadt@ millert@

this is errata/7.4/003_patch.patch.sig

Reply via email to