Volodymyr Shymanskyy 4 years ago
parent 469442487b
commit 1383c1da5b

@ -570,6 +570,7 @@ _ (ReadLEB_u7 (& section, & pos, end));
{
u32 sectionLength;
_ (ReadLEB_u32 (& sectionLength, & pos, end));
_throwif(m3Err_wasmMalformed, pos + sectionLength > end);
_ (ParseModuleSection (module, section, pos, sectionLength));
pos += sectionLength;

Loading…
Cancel
Save