mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
f19ae77520
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 |
||
---|---|---|
.. | ||
Inputs | ||
coff-file.test | ||
coff-many-relocs.test | ||
coff-non-null-terminated-file.test | ||
coff-private-headers.test | ||
disassembly-show-raw.test | ||
hex-relocation-addr.test | ||
lit.local.cfg | ||
out-of-section-sym.test | ||
win64-unwind-data.test |