aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-03-29 18:07:29 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-03-29 18:07:29 +0000
commit851f310cec3376982097f2ff69b6d8d5d00af785 (patch)
tree4c3ae07249abd5c4865e2c76f1c1a103f7f30db5 /clang/lib/CodeGen/CodeGenModule.cpp
parentd15c2805ab833180dedb2cadd1420e56ec0bd295 (diff)
downloadllvm-851f310cec3376982097f2ff69b6d8d5d00af785.zip
llvm-851f310cec3376982097f2ff69b6d8d5d00af785.tar.gz
llvm-851f310cec3376982097f2ff69b6d8d5d00af785.tar.bz2
[edit] Don't hit an assert when trying to delete a trailing space at EOF
The buffer is guaranteed to be zero-terminated so we can just circumvent the check. Found by afl-fuzz. llvm-svn: 233496
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions