Home GnuPG

Fix a possible segfault when parsing JSON containing very large strings
bd0d806758e5Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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

Provenance
Joshua Spence <josh@joshuaspence.com>Authored on Jan 11 2015, 8:40 PM
Parents
rPHUTILa95dd1c1db5f: Add an `xhpast_version` function
Branches
Unknown
Tags
Unknown

Event Timeline

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