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 srid
Recipients georg.brandl, pitrou, srid
Date 2009-08-06.01:21:02
SpamBayes Score 0.0025269117
Marked as misclassified No
Message-id <1249521664.22.0.79772989996.issue6600@psf.upfronthosting.co.za>
In-reply-to
Content
Update: posixmodule.c too has the same problem. Attaching similar patch 
for this:

--- python/Modules/posixmodule.c.orig   2009-08-05 09:47:07.000000000 
-0700
+++ python/Modules/posixmodule.c        2009-08-05 09:48:46.000000000 
-0700
@@ -6451,7 +6451,7 @@
                return NULL;
 
        /* Sanitize mode.  See fileobject.c */
-       mode = PyMem_MALLOC(strlen(orgmode)+3);
+       mode = PyMem_MALLOC(3+strlen(orgmode));
History
Date User Action Args
2009-08-06 01:21:04sridsetrecipients: + srid, georg.brandl, pitrou
2009-08-06 01:21:04sridsetmessageid: <1249521664.22.0.79772989996.issue6600@psf.upfronthosting.co.za>
2009-08-06 01:21:03sridlinkissue6600 messages
2009-08-06 01:21:03sridcreate