]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Avoid a race condition vulnerability in chown, when used with
authorJim Meyering <jim@meyering.net>
Sat, 11 Dec 2004 10:24:12 +0000 (10:24 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 11 Dec 2004 10:24:12 +0000 (10:24 +0000)
commitcbff85ac09edaf921bbe7bc75b584dbc96415196
treedf86fe9cf267fdbf064992f010fbfecc8a5accee
parent9278bc44cd52c92b557d3e34766637e6151d6f11
Avoid a race condition vulnerability in chown, when used with
--from=O:G and without the (-h) --no-dereference option.

(restricted_chown): New function.
(change_file_owner): Call it.
Reported by Ulrich Drepper.
src/chown-core.c