freebsd-nq/contrib/elftoolchain
Conrad Meyer 48fc14c0aa elftoolchain nm(1): Initialize allocated memory before use
In out of memory scenarios (where one of these allocations failed but
other(s) did not), nm(1) could reference the uninitialized value of these
allocations (undefined behavior).

Always initialize any successful allocations as the most expedient
resolution of the issue.  However, I would encourage upstream elftoolchain
contributors to clean up the error path to just abort immediately, rather
than proceeding sloppily when one allocation fails.

Reported by:	Coverity
Sponsored by:	Dell EMC Isilon
2018-03-16 22:25:33 +00:00
..
addr2line Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
ar Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
brandelf Use the in-tree sys/elf_common.h to build libelftc. 2016-06-05 23:05:14 +00:00
common Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
cxxfilt revert r308465: c++filt: flush output after newline 2017-05-01 01:56:11 +00:00
elfcopy elfcopy: copy raw (untranslated) contents to binary output 2018-01-02 14:07:55 +00:00
elfdump Update to ELF Tool Chain snapshot at r3561 2017-06-25 22:39:28 +00:00
libdwarf Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00
libelf o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
libelftc Update to ELF Tool Chain snapshot at r3561 2017-06-25 22:39:28 +00:00
libpe Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
nm elftoolchain nm(1): Initialize allocated memory before use 2018-03-16 22:25:33 +00:00
readelf readelf: report byte size for DT_PREINIT_ARRAYSZ 2017-12-26 18:10:34 +00:00
size Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
strings Update ELF Tool Chain to upstream r3520 2017-04-17 23:56:48 +00:00