aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-05-08 09:20:23 +0930
committerAlan Modra <amodra@gmail.com>2025-05-08 09:26:56 +0930
commit4aaf663ded55a029f02f83952c0e96e6b1dd4e8d (patch)
treea88ec2b12d94971da0f499df2f77b347f2ea6ff4 /libctf/ctf-open.c
parent76fd7455e3eb479690fc23a70555db178d4d3a84 (diff)
downloadbinutils-4aaf663ded55a029f02f83952c0e96e6b1dd4e8d.zip
binutils-4aaf663ded55a029f02f83952c0e96e6b1dd4e8d.tar.gz
binutils-4aaf663ded55a029f02f83952c0e96e6b1dd4e8d.tar.bz2
windres: buffer overflow
bin_to_res_menuexitems can be called with random data offsets (and thus remaining lengths), confusing code that expects 4-byte aligned data. Prevent an item length adjustment for alignment exceeding the remaining length and then overflowing.
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions