Skip to content

Handle RapidJSON stack allocation failures - #186

Merged
Gary Hsu (bghgary) merged 2 commits into
microsoft:Release/1.9.5from
bghgary:1.9.5-rapidjson-stack-allocation
Nov 17, 2026
Merged

Gary Hsu (bghgary) merged 2 commits into
microsoft:Release/1.9.5from
bghgary:1.9.5-rapidjson-stack-allocation

Conversation

@bghgary

Copy link
Copy Markdown
Contributor

[Created by Copilot on behalf of Gary Hsu (@bghgary)]

Makes RapidJSON's internal stack throw std::bad_alloc when a reallocation fails, keeping its existing contents, and adds focused regression coverage.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bghgary
Gary Hsu (bghgary) merged commit dae02af into microsoft:Release/1.9.5 Nov 17, 2026
14 checks passed
@bghgary
Gary Hsu (bghgary) deleted the 1.9.5-rapidjson-stack-allocation branch November 17, 2026 21:37
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.

1 participant