[PATCH] D97239: [profile] Fix buffer overrun when parsing %c in filename string
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 16:39:18 PST 2021
vsk created this revision.
vsk added reviewers: phosek, MaskRay, ejvaughan.
vsk requested review of this revision.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.
Fix a buffer overrun that can occur when parsing '%c' at the end of a
filename pattern string.
rdar://74571261
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97239
Files:
compiler-rt/lib/profile/InstrProfilingFile.c
compiler-rt/test/profile/ContinuousSyncMode/get-filename.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97239.325610.patch
Type: text/x-patch
Size: 3568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210223/2c1dd528/attachment.bin>
More information about the llvm-commits
mailing list