]> git.ipfire.org Git - thirdparty/glibc.git/commit
support: Prevent multiple deletion of temporary files
authorFlorian Weimer <fweimer@redhat.com>
Mon, 8 May 2017 12:57:59 +0000 (14:57 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 8 May 2017 14:20:40 +0000 (16:20 +0200)
commitc22553effb151532eb95fc1f7bb17a3aebe63202
tree6064f0d1bf34b0ec8aaebd04cd1758c81f4666ce
parent706256afb6c844a0e6aaab2b60f4326b91aca2e9
support: Prevent multiple deletion of temporary files

Otherwise, another user might recreate these files after the first
deletion.  Particularly with temporary directories, this could result
in the removal of unintended files through symbol link attacks.
ChangeLog
dirent/tst-scandir.c
posix/tst-exec.c
posix/tst-pathconf.c
posix/tst-spawn.c
posix/tst-vfork3.c
support/temp_file.c