summaryrefslogtreecommitdiffstats
path: root/Python/dtoa.c
diff options
context:
space:
mode:
authorstratakis <cstratak@redhat.com>2019-03-14 15:22:46 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-03-14 15:22:46 (GMT)
commitfb3336acfde3204fd01ce519ef24cc18a94dfa3f (patch)
treed9245e1f8849434899940f5457b39c8b5e10751b /Python/dtoa.c
parent2832ad53358e3fbc4bdc601b9f3fa04dd0deae46 (diff)
downloadcpython-fb3336acfde3204fd01ce519ef24cc18a94dfa3f.zip
cpython-fb3336acfde3204fd01ce519ef24cc18a94dfa3f.tar.gz
cpython-fb3336acfde3204fd01ce519ef24cc18a94dfa3f.tar.bz2
[2.7] bpo-36291: Fix a possible reference leak in the json module (GH-12330)
Fix a reference leak in json if parsing a floating point number fails. If PyOS_string_to_double() fails in _match_number_str(): decrement numstr ref counter.
Diffstat (limited to 'Python/dtoa.c')
0 files changed, 0 insertions, 0 deletions