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 vstinner
Recipients amaury.forgeotdarc, georg.brandl, labrat, vstinner
Date 2010-10-07.23:40:06
SpamBayes Score 0.007915152
Marked as misclassified No
Message-id <1286494808.39.0.856497651389.issue6612@psf.upfronthosting.co.za>
In-reply-to
Content
There was a bug in copy_absolute(): if _Py_wgetcwd() failed, the result was undefined (depending of the content of "path" buffer). Especially, absolutize() calls copy_absolute() with a buffer allocated on the stack: the content of this buffer depends on the undefined content of the stack.

Fixed in Python 3.2 (r85309+r85311), 2.7 (r85312) and 3.1 (r85313).

copy_absolute() is used (by calculate_path()) to fill sys.path.
History
Date User Action Args
2010-10-07 23:40:08vstinnersetrecipients: + vstinner, georg.brandl, amaury.forgeotdarc, labrat
2010-10-07 23:40:08vstinnersetmessageid: <1286494808.39.0.856497651389.issue6612@psf.upfronthosting.co.za>
2010-10-07 23:40:06vstinnerlinkissue6612 messages
2010-10-07 23:40:06vstinnercreate