Skip to content

Repair broken file-size check#301

Merged
kripken merged 1 commit into
WebAssembly:masterfrom
pjuftring:file-size_check
Mar 31, 2016
Merged

Repair broken file-size check#301
kripken merged 1 commit into
WebAssembly:masterfrom
pjuftring:file-size_check

Conversation

@pjuftring

Copy link
Copy Markdown
Contributor

I build binaryen in 32 bit and it allowed a file with size > 4 GB. The
problem was, that you cast to size_t and then check if it fits into
size_t.

@kripken

kripken commented Mar 31, 2016

Copy link
Copy Markdown
Member

Looks good, thanks! Can you please just squash the two commits (then push -f to this same branch)? That way this won't break bisection.

@pjuftring

Copy link
Copy Markdown
Contributor Author

Like this?

@kripken

kripken commented Mar 31, 2016

Copy link
Copy Markdown
Member

Yes, thanks!

@kripken kripken merged commit 57bd72b into WebAssembly:master Mar 31, 2016
@pjuftring pjuftring deleted the file-size_check branch March 31, 2016 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants