]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/ChangeLog
readelf large memory allocation
authorAlan Modra <amodra@gmail.com>
Sat, 14 Mar 2020 01:20:22 +0000 (11:50 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 14 Mar 2020 06:54:19 +0000 (17:24 +1030)
commit780f96aed2b4db1014e8fa2b50118676d8af0e46
tree06cceab0c41b0978c51811e1c280733045ee1488
parentf761cb13a903da6a5a1b3f9a5cb984600124ac31
readelf large memory allocation

* elfcomm.h (setup_archive): Update prototype.
* elfcomm.c (setup_archive): Add file_size parameter and sanity
check longnames_size.
(setup_nested_archive): Get file size and pass to setup_archive.
* elfedit.c (process_archive): Likewise.
* readelf.c (process_archive): Pass filedata->file_size to
setup_archive.
binutils/ChangeLog
binutils/elfcomm.c
binutils/elfcomm.h
binutils/elfedit.c
binutils/readelf.c