We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e03a7d6 commit 9bc33a0Copy full SHA for 9bc33a0
1 file changed
core/iwasm/interpreter/wasm_loader.c
@@ -8430,7 +8430,7 @@ static bool
8430
check_dynamic_offset_pop(WASMLoaderContext *ctx, uint32 cells)
8431
{
8432
if (ctx->dynamic_offset < 0
8433
- || ((uint32)ctx->dynamic_offset < cells && ctx->dynamic_offset > 0))
+ || (ctx->dynamic_offset > 0 && (uint32)ctx->dynamic_offset < cells))
8434
return false;
8435
return true;
8436
}
0 commit comments