diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-03 06:34:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 06:34:05 (GMT) |
commit | 6580e52b64cb207f03a1bf86a18f088b081c10f4 (patch) | |
tree | a703137ffa9e88dfeff6c97d00c09fd9cdd632cf /Python/fileutils.c | |
parent | f1e8be70a635995e67230b7eb73b08c442d886f8 (diff) | |
download | cpython-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