[PATCH] D82259: Deprecate error prone temporary directory APIs
David Zarzycki via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 20 08:26:55 PDT 2020
davezarzycki created this revision.
davezarzycki added reviewers: compnerd, aprantl, jakehehrlich, espindola, respindola, ilya-biryukov, pcc, sammccall.
davezarzycki added a project: LLVM.
Herald added subscribers: cfe-commits, hiraditya.
Herald added a project: clang.
Naive usage of shared temporary directories in Unix is a classic security problem. Let's deprecate two APIs that enable unsafe code and encourage people to use `createUniqueFile` or `createUniqueDirectory` instead.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82259
Files:
clang/lib/Driver/ToolChains/Clang.cpp
llvm/include/llvm/Support/FileSystem.h
llvm/include/llvm/Support/Path.h
llvm/lib/Support/Path.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82259.272260.patch
Type: text/x-patch
Size: 5966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200620/dd5bbce3/attachment-0001.bin>
More information about the cfe-commits
mailing list