diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-29 12:45:16 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-29 12:56:46 +1030 |
commit | aec101ab06697221d2bc2f82b3a65fb92054ed9f (patch) | |
tree | 2afb1d407031c1dd3aa4ee6b2fa729c53d02f2d8 /compile | |
parent | 647744420e69bf5fc8f5ab88a9d7dabd6087a890 (diff) | |
download | gdb-aec101ab06697221d2bc2f82b3a65fb92054ed9f.zip gdb-aec101ab06697221d2bc2f82b3a65fb92054ed9f.tar.gz gdb-aec101ab06697221d2bc2f82b3a65fb92054ed9f.tar.bz2 |
Sanity check section size in bfd_init_section_compress_status
This function doesn't just initialise for compression, it actually
compresses. This patch sanity checks section size before allocating
buffers for the uncompressed contents.
* compress.c (bfd_init_section_compress_status): Sanity check
section size.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions