You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use getUnsigned() to properly zero-extend i32 values when computing
memory.init offset and size. Previously, geti32() returned a signed
int32_t that sign-extended when stored as uint64_t, causing values
>= 0x80000000 to produce incorrect overflow detection and range
calculations.
Also clean up existing uint32_t() casts in the same function to
use getUnsigned() consistently.
0 commit comments