homepage

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.

Author christian.heimes
Recipients christian.heimes
Date 2013年07月05日.20:02:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373054563.49.0.685653845765.issue18368@psf.upfronthosting.co.za>
In-reply-to
Content
PyOS_StdioReadline() contains code such as:
 p = (char *)PyMem_REALLOC(p, n + incr);
The code looses its pointer to p when realloc fails and has no chance to free the memory in p.
Also the code sets PyExc_OverflowError when incr > INT_MAX but it doesn't return NULL to signal the error.
History
Date User Action Args
2013年07月05日 20:02:43christian.heimessetrecipients: + christian.heimes
2013年07月05日 20:02:43christian.heimessetmessageid: <1373054563.49.0.685653845765.issue18368@psf.upfronthosting.co.za>
2013年07月05日 20:02:43christian.heimeslinkissue18368 messages
2013年07月05日 20:02:43christian.heimescreate

AltStyle によって変換されたページ (->オリジナル) /