commit | 063755c20184e80f587d522600536d1ba70a5f7e | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue Oct 02 23:33:42 2018 -0700 |
committer | GitHub <noreply@github.com> | Tue Oct 02 23:33:42 2018 -0700 |
tree | 8ef81dc95639893c6f50b4d2e2522fbd669107af | |
parent | 97f998a4dfd6db6d867f446daa62445d0782bf39 [diff] |
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>