diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-03-02 10:39:10 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-03-16 18:33:02 +0100 |
commit | 5ebff5337594d690b322078c512eb222d34aaa82 (patch) | |
tree | fa41ee9d34437f1fcc914f31cff51c6b7808c579 /src/path.h | |
parent | 16f1239e1ece27257c0deedcf01aa39474f66241 (diff) |
util: never follow symlinks in rm_rf_children()
The function checks if the entry is a directory before recursing, but
there is a window between the check and the open, during which the
directory could be replaced with a symlink.
CVE-2012-1174
https://bugzilla.redhat.com/show_bug.cgi?id=803358
Diffstat (limited to 'src/path.h')
0 files changed, 0 insertions, 0 deletions