Sridhar Ratnakumar <sridh...@activestate.com> added the comment: 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)); ---------- keywords: +patch Added file: http://bugs.python.org/file14662/aix2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6600> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com