llvm/test/tools
Saleem Abdulrasool 67635a7f8d tools: address possible non-null terminated filenames
If a filename is a multiple of 18 characters, there will be no null-terminator.
This will result in an invalid access by the constructed StringRef.  Add a test
case to exercise this and fix that handling.  Address this same vulnerability in
llvm-readobj as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206145 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-14 02:37:23 +00:00
..
llvm-cov llvm-cov: Move XFAIL after the body of the test 2014-03-26 22:51:39 +00:00
llvm-lit [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
llvm-objdump tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
llvm-profdata llvm-profdata: Check for bad data in the show command 2014-03-23 20:55:53 +00:00
llvm-readobj tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00