aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-03-29 14:11:37 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-03-29 14:11:37 +0000
commit8671028e95ebfd1fd4b601dfc8148b5881d947f5 (patch)
tree7fdf41e3927bca7ead333da538d532f6620f551c /clang/lib/CodeGen/CodeGenModule.cpp
parent7fd88386b058702e4aad1cb95c5e67678018bf5e (diff)
downloadllvm-8671028e95ebfd1fd4b601dfc8148b5881d947f5.zip
llvm-8671028e95ebfd1fd4b601dfc8148b5881d947f5.tar.gz
llvm-8671028e95ebfd1fd4b601dfc8148b5881d947f5.tar.bz2
[lex] Don't read past the end of the buffer
While dereferencing ThisTokEnd is fine and we know that it's not in [a-zA-Z0-9_.], ThisTokEnd[1] is really past the end. Found by asan and with a little help from clang-fuzz. llvm-svn: 233491
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions