Message118152
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. |
|
| 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: <[email protected]> |
| 2010-10-07 23:40:06 | vstinner | link | issue6612 messages |
| 2010-10-07 23:40:06 | vstinner | create | |
|