Repository navigation
Avoid unbounded alloca in FloatParser::ParseFloat - #2754
Merged
Merged
Conversation
sbc100
approved these changes
Jun 2, 2026
sbc100
enabled auto-merge (squash)
June 2, 2026 17:31
auto-merge was automatically disabled
June 15, 2026 18:50
Head branch was pushed to by a user without write access
aizu-m
force-pushed
the
literal-float-alloca
branch
from
June 15, 2026 18:50
0afb44a to
95e3712
Compare
Contributor
Author
|
Rebased onto main to clear the BEHIND state. The branch had drifted six commits behind since the approval, so the queued merge was sat on the up-to-date check. CI is now running on the new head (95e3712), and the change itself is unchanged from your approval (clean rebase, no conflicts in literal.cc). One thing worth flagging: updating the branch looks to have dropped the auto-merge that was enabled, so it will likely need re-enabling once the checks go green. |
sbc100
reviewed
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ParseFloat sizes alloca() by the literal length, so a multi-megabyte float constant in untrusted .wat text overflows the stack; use a heap buffer instead.