Message118152
| 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:08 | vstinner | set | recipients:
+ vstinner, georg.brandl, amaury.forgeotdarc, labrat |
| 2010年10月07日 23:40:08 | vstinner | set | messageid: <1286494808.39.0.856497651389.issue6612@psf.upfronthosting.co.za> |
| 2010年10月07日 23:40:06 | vstinner | link | issue6612 messages |
| 2010年10月07日 23:40:06 | vstinner | create |
|