| commit | d499fb89448c3f2e061813f12a1b63fbaa29422e | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Wed Nov 23 22:07:03 2022 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Wed Nov 23 22:38:48 2022 +1030 |
| tree | 7c890950c7175781603eb8d96f26f444a7fa3ed1 | |
| parent | 8181f0045df765a7f28db745f4a8bd3c5a1da82d [diff] |
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.