Skip to content

Fix max buffer requirement in no-memmove build#19

Merged
xjb714 merged 1 commit into
xjb714:mainfrom
Antares0982:fix-buffer-req
Jun 17, 2026
Merged

Fix max buffer requirement in no-memmove build#19
xjb714 merged 1 commit into
xjb714:mainfrom
Antares0982:fix-buffer-req

Conversation

@Antares0982

Copy link
Copy Markdown
Contributor

An overflow detected in ssrJSON's new encode fuzzer: dtoa(-1.5e-323), which triggers assertion failure at line 1460. max_buffer_requirement must be 33 even in no-memmove build.

Also adds more tests to cover this case, and reformat src + test code.

@Antares0982

Copy link
Copy Markdown
Contributor Author

float-check.cc only has white-space changes. A few negative subnormals tests are added to xjb-test.cc, and other changes are also white spaces.

@xjb714 xjb714 merged commit 4c42224 into xjb714:main Jun 17, 2026
3 checks passed
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