diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-08-19 21:15:16 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-08-20 14:50:11 +0200 |
| commit | 1544625df3fb4732f2cd63d1e7c4c738d1b7d0c0 (patch) | |
| tree | 9daf0a93df0113b19f2f0747ca7a645b2123feec /lib/std/priority_dequeue.zig | |
| parent | aca911ca18d43fddcc3d36f44d3750d07b53fb56 (diff) | |
| download | zig-1544625df3fb4732f2cd63d1e7c4c738d1b7d0c0.tar.gz zig-1544625df3fb4732f2cd63d1e7c4c738d1b7d0c0.zip | |
wasm/Object: parse using the correct file size
When an object file is being parsed from within an archive
file, we provide the object file size to ensure we do not
read past the object file. This is because follow up object
files can exist there, as well as an LF character to notate
the end of the file was reached. Such a character is invalid
within the object file.
This also fixes a bug in getting the function/global type
for defined globals/functions from object files as it was missing
the substraction with the import count of the respective type.
Diffstat (limited to 'lib/std/priority_dequeue.zig')
0 files changed, 0 insertions, 0 deletions
