diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-29 14:11:37 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-29 14:11:37 +0000 |
commit | 8671028e95ebfd1fd4b601dfc8148b5881d947f5 (patch) | |
tree | 7fdf41e3927bca7ead333da538d532f6620f551c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 7fd88386b058702e4aad1cb95c5e67678018bf5e (diff) | |
download | llvm-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