summaryrefslogtreecommitdiff
path: root/Modules/_json.c
AgeCommit message (Expand)AuthorLines
2019-03-14[2.7] bpo-36291: Fix a possible reference leak in the json module (GH-12330)stratakis-1/+3
2018-09-13bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225)Miss Islington (bot)-3/+3
2018-07-31[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka-2/+2
2017-09-13consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson-4/+2
2017-09-04bpo-31095: Fix potential crash during GC (GH-3197)INADA Naoki-2/+4
2017-05-05[2.7] bpo-30243: Fixed the possibility of a crash in _json. (GH-1420) (#1471)Serhiy Storchaka-65/+18
2017-01-03Fixed possible reference leaks in the _json module.Serhiy Storchaka-1/+4
2016-09-26be extremely careful about overflows in encode_basestring_ascii (closes #28284)Benjamin Peterson-26/+49
2016-09-03Issue #27934: Use float.__repr__ instead of plain repr when JSON-encoding an ...Mark Dickinson-2/+2
2016-08-13fix possible overflow in encode_basestring_ascii (#23369)Benjamin Peterson-0/+4
2016-04-10Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka-1/+1
2016-04-06Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka-1/+1
2015-12-24Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka-2/+1
2015-07-26Issue #24683: Fixed a crash in _json.make_encoder() called with non-dict 1st ...Serhiy Storchaka-0/+7
2015-07-24Issue #24704: Fixed possible NULL pointer dereferencing in the _json moduleSerhiy Storchaka-0/+2
2015-05-30Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),Serhiy Storchaka-9/+26
2014-04-14disallow a negative idx parameterBenjamin Peterson-8/+10
2014-04-13in scan_once, prevent the reading of arbitrary memory when passed a negative ...Benjamin Peterson-2/+8
2013-11-26Issue #11489: JSON decoder now accepts lone surrogates.Serhiy Storchaka-36/+13
2012-11-01Issue #16228: Fix a crash in the json module where a list changes size while ...Antoine Pitrou-7/+3
2012-06-29Issue #5067: improve some json error messages.Antoine Pitrou-4/+4
2012-01-13Issue #13774: json: Fix a SystemError when a bogus encoding is passed toAmaury Forgeot d'Arc-1/+8
2011-05-11#12051: Fix segfault in json.dumps() while encoding highly-nested objects usi...Ezio Melotti-2/+15
2011-05-07#12017: Fix segfault in json.loads() while decoding highly-nested objects usi...Ezio Melotti-4/+26
2011-05-04#11982: remove now unused function.Ezio Melotti-18/+0
2011-05-04#11982: fix json.loads('""') to return u'' rather than ''.Ezio Melotti-1/+1
2011-01-02#10804: fix copy-paste error when checking assigned fields for NULL.Georg Brandl-1/+1
2010-11-02Issue 10038. Restore the Python 2.6 behavior that json.loads() always returnsBarry Warsaw-28/+7
2010-10-30Backport r72961 fixing issue #6105: json.dumps not following OrderedDict iter...Raymond Hettinger-5/+22
2010-10-09Merged revisions 85342 via svnmerge fromAntoine Pitrou-2/+2
2010-07-21Apply patch from Ray Allen for issue 9296Doug Hellmann-1/+1
2010-05-03Remove unneeded variable mutation and initializations.Brett Cannon-4/+6
2009-12-08Issue #6986: Fix crash in the JSON C accelerator when called with theAntoine Pitrou-4/+17
2009-10-28Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c a...Eric Smith-1/+5
2009-05-05#5932: fix error return in _convertPyInt_AsSsize_t() conversion function.Georg Brandl-3/+3
2009-03-29Issue 5381: fix regression in pure python code path, Issue 5584: fix a decode...Bob Ippolito-1/+1
2009-03-19Silence a compiler warning.Raymond Hettinger-1/+1
2009-03-19Issue 5381: Add object_pairs_hook to the json module.Raymond Hettinger-11/+71
2009-03-17merge json library with simplejson 2.0.9 (issue 4136)Bob Ippolito-133/+1841
2008-10-16fix more possible ref leaks in _json and use Py_CLEARBenjamin Peterson-2/+4
2008-10-16fix possible ref leakBenjamin Peterson-2/+2
2008-10-16check for error conditions in _json #3623Benjamin Peterson-3/+5
2008-07-19#3322: bounds checking for _json.scanstringBob Ippolito-2/+10
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-17/+17
2008-05-26Renamed PyString to PyBytesChristian Heimes-17/+17
2008-05-06Intern static stringChristian Heimes-1/+1
2008-05-05Add the 'json' package. Code taken from simplejson 1.9 and contributed by BobBrett Cannon-0/+609