Homec4science

Fix a possible segfault when parsing JSON containing very large strings

Authored by Joshua Spence <josh@joshuaspence.com> on Jan 11 2015, 20:40.

Description

Fix a possible segfault when parsing JSON containing very large strings

Summary: Taken from https://github.com/Seldaek/jsonlint/commit/a3844d460bbbbcfa69550a98c675ea6358253451.

Test Plan: Ported the test case from https://github.com/Seldaek/jsonlint/issues/25.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11323

Details

Committed
Joshua Spence <josh@joshuaspence.com>Jan 11 2015, 20:40
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUa95dd1c1db5f: Add an `xhpast_version` function
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHUbd0d806758e5: Fix a possible segfault when parsing JSON containing very large strings (authored by Joshua Spence <josh@joshuaspence.com>).Jan 11 2015, 20:40