diff options
author | Alan Modra <amodra@gmail.com> | 2024-04-12 08:55:02 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-04-12 09:00:52 +0930 |
commit | 0f8adbf77dd3f40e74529fa989dca034c73a7273 (patch) | |
tree | 67cfa66db3cfb761fd2d77cb99c2f7537fc7fb53 /libctf/ctf-open-bfd.c | |
parent | fcf8f3237cbaa0f97e57a161d7354cdb89a1ffa4 (diff) | |
download | binutils-0f8adbf77dd3f40e74529fa989dca034c73a7273.zip binutils-0f8adbf77dd3f40e74529fa989dca034c73a7273.tar.gz binutils-0f8adbf77dd3f40e74529fa989dca034c73a7273.tar.bz2 |
Re: Fix null pointer dereference in process_debug_info()
read_bases has a potential null-pointer deref too, and without a
debug_info_p there isn't any point in calling read_bases.
* dwarf.c (process_debug_info): Don't call read_bases when
debug_info_p is NULL.
Diffstat (limited to 'libctf/ctf-open-bfd.c')
0 files changed, 0 insertions, 0 deletions