summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-10-03 06:34:05 (GMT)
committerGitHub <noreply@github.com>2018-10-03 06:34:05 (GMT)
commit6580e52b64cb207f03a1bf86a18f088b081c10f4 (patch)
treea703137ffa9e88dfeff6c97d00c09fd9cdd632cf /Python/fileutils.c
parentf1e8be70a635995e67230b7eb73b08c442d886f8 (diff)
downloadcpython-6580e52b64cb207f03a1bf86a18f088b081c10f4.zip
cpython-6580e52b64cb207f03a1bf86a18f088b081c10f4.tar.gz
cpython-6580e52b64cb207f03a1bf86a18f088b081c10f4.tar.bz2
bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683)
formatfloat() was not checking if PyBytes_FromStringAndSize() failed, which could lead to a null pointer dereference in _PyBytes_FormatEx(). (cherry picked from commit 96c593279400693226d5a560c420ae0fcf1731b9) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions