diff options
author | Alan Modra <amodra@gmail.com> | 2025-08-19 09:15:22 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-08-19 09:31:06 +0930 |
commit | 74201a32082c061a3b966fa3189e97eefbd87c2b (patch) | |
tree | efb4625e7684cadf7e3c731b0e4af0d1f66f365e /gdb/common/array-view.h | |
parent | c022c513767753fa669ad8da5c0c6f12da4aa26a (diff) | |
download | binutils-74201a32082c061a3b966fa3189e97eefbd87c2b.zip binutils-74201a32082c061a3b966fa3189e97eefbd87c2b.tar.gz binutils-74201a32082c061a3b966fa3189e97eefbd87c2b.tar.bz2 |
Re: windres: don't exit so much on errors in read_coff_rsrc
oss-fuzz found that I missed some error paths in commit 9e68cae4fd.
This fix prevents reads of a NULL pointer in sort_resources.
* rescoff.c (read_coff_res_dir): Check return of recursive calls
and read_coff_data_entry calls. Pass failures up the call chain.
Diffstat (limited to 'gdb/common/array-view.h')
0 files changed, 0 insertions, 0 deletions