mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Fix incomplete data section
This commit is contained in:
parent
46fb72af9d
commit
305e1801ff
@ -314,7 +314,7 @@ pub fn read_module<
|
||||
base = Some(eval_init_expr(op)?)
|
||||
}
|
||||
ParserState::DataSectionEntryBodyChunk(chunk) => {
|
||||
data = chunk.to_vec();
|
||||
data.extend_from_slice(chunk);
|
||||
}
|
||||
ParserState::BeginInitExpressionBody
|
||||
| ParserState::EndInitExpressionBody => {}
|
||||
|
Loading…
Reference in New Issue
Block a user