]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix latent bug in gdbpy_lookup_static_symbols
authorTom Tromey <tom@tromey.com>
Sun, 15 Dec 2024 16:09:10 +0000 (09:09 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 20 Dec 2024 17:00:13 +0000 (10:00 -0700)
commitcd676397e5a7920eb0fc916bfde787dde8dea149
tree8dd21534b3cc711aed3ac652f60552d654404a5f
parent14848fc2b22e6e718abadcfbcc0491688df19a8e
Fix latent bug in gdbpy_lookup_static_symbols

gdbpy_lookup_static_symbols is missing an error check for the case
where symbol_to_symbol_object returns NULL.

Approved-By: Tom de Vries <tdevries@suse.de>
gdb/python/py-symbol.c