EH: Fix delegate parsing in wasm_loader_find_block_addr (#3106)

This commit is contained in:
YAMAMOTO Takashi 2024-02-01 08:46:49 +09:00 committed by GitHub
parent 10e87d2966
commit 3111a86cb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4679,6 +4679,7 @@ wasm_loader_find_block_addr(WASMExecEnv *exec_env, BlockAddr *block_addr_cache,
return true;
}
else {
skip_leb(p);
/* the DELEGATE opcode ends the tryblock, */
block_nested_depth--;
if (block_nested_depth