diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-10 13:22:25 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-10 13:54:01 +1030 |
commit | 41da082238bbc3bbe8bac1b0fbcab716fe7c87f2 (patch) | |
tree | 9d480e5a61bea83f6ae61724f3a81e38ad12b05d /include | |
parent | 6b5e16ffd3e8886fa3fb90d63e3200fcc373848e (diff) | |
download | gdb-41da082238bbc3bbe8bac1b0fbcab716fe7c87f2.zip gdb-41da082238bbc3bbe8bac1b0fbcab716fe7c87f2.tar.gz gdb-41da082238bbc3bbe8bac1b0fbcab716fe7c87f2.tar.bz2 |
objdump disassembly of files without symbols
ubsan complains about memcpy with a NULL src even when size is zero.
* objdump.c (disassemble_section): Don't call qsort unless
sym count is at least two.
(disassemble_data): Don't call memcpy with NULL src.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions