llvm-6502/tools/llvm-objdump
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
..
CMakeLists.txt [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
COFFDump.cpp [C++11] Change the interface of getCOFF{Section,Relocation,Symbol} to make it work with range-based for loops. 2014-03-18 06:53:02 +00:00
ELFDump.cpp [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
llvm-objdump.cpp tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
llvm-objdump.h Re-submit r191472 with a fix for big endian. 2013-09-27 21:04:00 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
MachODump.cpp [C++11] Introduce ObjectFile::symbols() to use range-based loops. 2014-03-17 07:28:19 +00:00
Makefile build: Tidy up a bunch of tool Makefiles, and simplify where possible using the 2011-10-18 19:27:24 +00:00