Skip to content
Commit d499fb89 authored by Alan Modra's avatar Alan Modra
Browse files

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.
parent 8181f004
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment