summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/coff-non-null-terminated-file.test
Commit message (Collapse)AuthorAgeFilesLines
* tools: address possible non-null terminated filenamesSaleem Abdulrasool2014-04-141-0/+5
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. llvm-svn: 206145
OpenPOWER on IntegriCloud