Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [FileCheck] - Fix possible buffer out of bounds access when parsing ↵ | George Rimar | 2018-01-16 | 1 | -0/+4 |
--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 |