aboutsummaryrefslogtreecommitdiff
path: root/bfd/init.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-03-23 23:23:31 +1030
committerAlan Modra <amodra@gmail.com>2020-03-23 23:26:12 +1030
commitcf28cfef6006c41b74af126bc6ef26590d7bd1b9 (patch)
tree9b3b94214b920d26770ddddcacb9a10b4a771093 /bfd/init.c
parent5e737279c6e832a757f0326128e5a5f96fbdd291 (diff)
downloadgdb-cf28cfef6006c41b74af126bc6ef26590d7bd1b9.zip
gdb-cf28cfef6006c41b74af126bc6ef26590d7bd1b9.tar.gz
gdb-cf28cfef6006c41b74af126bc6ef26590d7bd1b9.tar.bz2
ECOFF archive uninitialised read
* ecoff.c (_bfd_ecoff_slurp_armap): Sanity check parsed_size and symbol count. Allocate an extra byte to ensure name strings are terminated. Sanity check name offsets. Release memory on error return.
Diffstat (limited to 'bfd/init.c')
0 files changed, 0 insertions, 0 deletions