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: eric.smith
Priority: release blocker Keywords:

Created on 2009-04-16 22:07 by eric.smith, last changed 2009-04-21 11:58 by eric.smith. 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
2009-04-21 11:58:04eric.smithsetstatus: open -> closed
resolution: fixed
messages: + msg86228
2009-04-16 22:07:46eric.smithcreate