diff options
author | Alan Modra <amodra@gmail.com> | 2025-10-06 20:56:56 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-10-06 21:52:28 +1030 |
commit | c7b19c486012e1dd2a10434f1891c86b1398419a (patch) | |
tree | 6971de1c40af420ed24ab9115480680766f92911 /gdb/python/py-inferior.c | |
parent | b05d1d896058c41d49e44951a02dd74238ce2e4e (diff) | |
download | binutils-c7b19c486012e1dd2a10434f1891c86b1398419a.zip binutils-c7b19c486012e1dd2a10434f1891c86b1398419a.tar.gz binutils-c7b19c486012e1dd2a10434f1891c86b1398419a.tar.bz2 |
alpha-ecoff: check archive element size
If we run out of file before decompression finishes, the archive is
broken. Don't allow the buffer to be returned with uninitialised data.
* coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Return an
error if the full element size can't be decompressed.
Diffstat (limited to 'gdb/python/py-inferior.c')
0 files changed, 0 insertions, 0 deletions