diff options
author | Alan Modra <amodra@gmail.com> | 2020-02-26 13:02:42 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-02-26 13:04:54 +1030 |
commit | e0b317de31ab0e99ef8d14e9f751ae7e7d16abde (patch) | |
tree | ac70fa408b84ae4b2b88ef59b08cd7ef0e9b74c1 /opcodes/fr30-dis.c | |
parent | da3ec71fd49cb138d597870262a00a82578e96d0 (diff) | |
download | gdb-e0b317de31ab0e99ef8d14e9f751ae7e7d16abde.zip gdb-e0b317de31ab0e99ef8d14e9f751ae7e7d16abde.tar.gz gdb-e0b317de31ab0e99ef8d14e9f751ae7e7d16abde.tar.bz2 |
rx: memory allocation without checking for NULL return
* elf32-rx.c (rx_elf_relocate_section): Use bfd_malloc rather than
malloc. Check for NULL return from bfd_malloc.
(rx_table_find, rx_table_map): Likewise.
(rx_set_section_contents): Check bfd_alloc return.
(rx_dump_symtab): Don't alloc internal_syms or external_syms.
Diffstat (limited to 'opcodes/fr30-dis.c')
0 files changed, 0 insertions, 0 deletions