aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-tic4x.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-11-23 22:07:03 +1030
committerAlan Modra <amodra@gmail.com>2022-11-23 22:38:48 +1030
commitd499fb89448c3f2e061813f12a1b63fbaa29422e (patch)
tree7c890950c7175781603eb8d96f26f444a7fa3ed1 /bfd/coff-tic4x.c
parent8181f0045df765a7f28db745f4a8bd3c5a1da82d (diff)
downloadgdb-d499fb89448c3f2e061813f12a1b63fbaa29422e.zip
gdb-d499fb89448c3f2e061813f12a1b63fbaa29422e.tar.gz
gdb-d499fb89448c3f2e061813f12a1b63fbaa29422e.tar.bz2
asan: NULL deref in filter_symbols
If tdata->symbols is NULL, make tdata->symcount zero too. This makes wasm_get_symtab_upper_bound return the proper result and stops cascading errors. * wasm-module.c (wasm_scan_name_function_section): Clear tdata->symcount on error.
Diffstat (limited to 'bfd/coff-tic4x.c')
0 files changed, 0 insertions, 0 deletions