aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-01-16 08:09:24 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-01-16 08:09:24 +0000
commit83e63d96a9a949d3f2fcee6f663c4e4923b9da6f (patch)
tree59be13b941e3e3636605b4a2e606483b6e193f3b /clang/unittests/libclang/LibclangTest.cpp
parent035dd256d52c0904cf7bc97bcbf156bd4bf008ca (diff)
downloadllvm-83e63d96a9a949d3f2fcee6f663c4e4923b9da6f.zip
llvm-83e63d96a9a949d3f2fcee6f663c4e4923b9da6f.tar.gz
llvm-83e63d96a9a949d3f2fcee6f663c4e4923b9da6f.tar.bz2
[FileCheck] - Fix possible buffer out of bounds access when parsing --check-prefix.
FileCheck tool crashes when trying to parse --check-prefix argument if there is no any data after it. For example test like following would crash if there are no symbols and no EOL mark after `boom`: # REQUIRES: x86 # RUN: <skipped few lines> # RUN: llvm-readobj -t %t | FileCheck %s --check-prefix=boom Patch fixes the issue. Differential revision: https://reviews.llvm.org/D42057 llvm-svn: 322536
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions