Issue 34879: bytesobject.c: Possible null pointer dereference due to formatfloat() (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/79060

classification

Title: bytesobject.c: Possible null pointer dereference due to formatfloat()
Type: crash Stage: resolved
Components: Interpreter Core Versions: Python 3.8, Python 3.7, Python 3.6

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, miss-islington, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2018-10-03 04:53 by ZackerySpytz, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 9683 merged ZackerySpytz,2018-10-03 04:56
PR 9684 merged miss-islington,2018-10-03 06:01
PR 9685 merged miss-islington,2018-10-03 06:01
Messages (5)
msg326933 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2018-10-03 04:53
The PyBytes_FromStringAndSize() call in formatfloat() is not checked for failure.
msg326938 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-10-03 06:01
New changeset 96c593279400693226d5a560c420ae0fcf1731b9 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683) https://github.com/python/cpython/commit/96c593279400693226d5a560c420ae0fcf1731b9
msg326939 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-10-03 06:02
Thank you for your report and fix Zackery.
msg326940 - (view) Author: miss-islington (miss-islington) Date: 2018-10-03 06:33
New changeset 063755c20184e80f587d522600536d1ba70a5f7e by Miss Islington (bot) in branch '3.7': bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683) https://github.com/python/cpython/commit/063755c20184e80f587d522600536d1ba70a5f7e
msg326941 - (view) Author: miss-islington (miss-islington) Date: 2018-10-03 06:34
New changeset 6580e52b64cb207f03a1bf86a18f088b081c10f4 by Miss Islington (bot) in branch '3.6': bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683) https://github.com/python/cpython/commit/6580e52b64cb207f03a1bf86a18f088b081c10f4
History
Date User Action Args
2022-04-11 14:59:06 admin set github: 79060
2018-10-03 06:35:31 serhiy.storchaka set status: open -> closedresolution: fixedstage: patch review -> resolved
2018-10-03 06:34:09 miss-islington set messages: +
2018-10-03 06:33:47 miss-islington set nosy: + miss-islingtonmessages: +
2018-10-03 06:02:46 serhiy.storchaka set messages: +
2018-10-03 06:01:52 miss-islington set pull_requests: + <pull%5Frequest9071>
2018-10-03 06:01:44 miss-islington set pull_requests: + <pull%5Frequest9070>
2018-10-03 06:01:35 serhiy.storchaka set nosy: + serhiy.storchakamessages: +
2018-10-03 04:56:50 ZackerySpytz set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest9069>
2018-10-03 04:53:44 ZackerySpytz create