summaryrefslogtreecommitdiff
path: root/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2014-06-16 20:31:15 +0000
committerSylvestre Ledru <sylvestre@debian.org>2014-06-16 20:31:15 +0000
commit4a2040bc0e31b797d1e666c14c969b49016d0dad (patch)
tree2d1f919f550fc15d1faccce5675b0cf573dfdd8e /lib/Basic/VirtualFileSystem.cpp
parente4d7f02c0699f734a9ea83e2dc4b5512f4700ec0 (diff)
downloadclang-4a2040bc0e31b797d1e666c14c969b49016d0dad.tar.gz
clang-4a2040bc0e31b797d1e666c14c969b49016d0dad.tar.bz2
clang-4a2040bc0e31b797d1e666c14c969b49016d0dad.tar.xz
Check that the directory does not exist.
Otherwise, it could allows local users to obtain sensitive information or overwrite arbitrary files via a symlink attack on temporary directories with predictable names. Reported as CVE-2014-2893 ( https://security-tracker.debian.org/tracker/CVE-2014-2893 ) Found by Jakub Wilk git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions