Skip to content

Preserve embedded nulls in JSON strings - #891

Open
astunm wants to merge 1 commit into
USCiLab:masterfrom
astunm:fix/json-embedded-nulls
Open

astunm wants to merge 1 commit into
USCiLab:masterfrom
astunm:fix/json-embedded-nulls

Conversation

@astunm

@astunm astunm commented Nov 11, 2026

Copy link
Copy Markdown

Read JSON strings using their explicit length so embedded null characters survive round trips. Adds a regression covering leading, middle, and trailing nulls.

Tests: the regression fails before the fix; all 40 configured CTest checks passed afterward with C++17 and warnings as errors.

This branch has not been deployed

No deployments
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