This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: marshal.c needs to be checked for out of memory errors
Type: resource usage Stage:
Components: Interpreter Core Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.smith Nosy List: benjamin.peterson, eric.smith
Priority: release blocker Keywords:

Created on 2009-04-16 22:07 by eric.smith, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg86049 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2009-04-16 22:07
With the changes in r71665, w_object() in marshal.c needs to be checked
for out of memory errors when converting floats to strings. I'm not
convinced the existing error checking was correct, but I haven't spent a
lot of time looking at it.

The fact that w_object() is recursive makes the problem that much tougher.

I'll get to this before the next 3.1 release.
msg86228 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2009-04-21 11:58
Fixed in r71783.
History
Date User Action Args
2022-04-11 14:56:47adminsetnosy: + benjamin.peterson
github: 50025
2009-04-21 11:58:04eric.smithsetstatus: open -> closed
resolution: fixed
messages: + msg86228
2009-04-16 22:07:46eric.smithcreate