Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit json depth to 128 #457

Closed

Conversation

moki
Copy link
Contributor

@moki moki commented Dec 9, 2023

Closes: #450

@moki moki changed the title Moki codes/limit json depth to 128 limit json depth to 128 Dec 9, 2023
Copy link

github-actions bot commented Dec 9, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@moki
Copy link
Contributor Author

moki commented Dec 9, 2023

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/

@segoon
Copy link
Collaborator

segoon commented Dec 11, 2023

Tests are failing!

Please look at userver/universal/src/formats/json/impl/types_impl.cpp (yes, a tricky one) how rapidjson's Value must be destroyed to avoid stack overflow.

@moki
Copy link
Contributor Author

moki commented Dec 11, 2023

Tests are failing!

Please look at userver/universal/src/formats/json/impl/types_impl.cpp (yes, a tricky one) how rapidjson's Value must be destroyed to avoid stack overflow.

Will do, thanks for the tip!

@moki moki force-pushed the moki-codes/limit-json-depth-to-128 branch from fff4a82 to 5edab34 Compare December 12, 2023 13:48
@moki moki force-pushed the moki-codes/limit-json-depth-to-128 branch from 5edab34 to c5edf01 Compare December 12, 2023 14:17
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[json] parse depth limit
2 participants