diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-04-01 09:58:45 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-04-01 09:58:45 +0000 |
| commit | e550bbdf9d7c4e5eb0b23a50203039808c7a2be4 (patch) | |
| tree | 4961d0f4e66d1cea1d4f4e8f9c6950d49091841c /clang/test/OpenMP/parallel_for_linear_messages.cpp | |
| parent | a5d09f64a11570fb39a0db176ee9d226aa4ae094 (diff) | |
| download | bcm5719-llvm-e550bbdf9d7c4e5eb0b23a50203039808c7a2be4.tar.gz bcm5719-llvm-e550bbdf9d7c4e5eb0b23a50203039808c7a2be4.zip | |
[Lexer] Don't read out of bounds if a conflict marker is at the end of a file
This can happen as we look for '<<<<' while scanning tokens but then expect
'<<<<\n' to tell apart perforce from diff3 conflict markers. Just harden
the pointer arithmetic.
Found by libfuzzer + asan!
llvm-svn: 265125
Diffstat (limited to 'clang/test/OpenMP/parallel_for_linear_messages.cpp')
0 files changed, 0 insertions, 0 deletions

