[issue3813] cannot lanch python.exe via symbolic link if HAVE_BROKEN_MBSTOWCS

Hirokazu Yamamoto report at bugs.python.org
Tue Sep 9 15:26:37 CEST 2008


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

Oh, I misunderstood the reason...
readlink() can return non-null-terminated string, so mbstowcs may
convert illegual memory area. I've attached py3k_getpath_v3.patch.

Added file: http://bugs.python.org/file11437/py3k_getpath_v3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3813>
_______________________________________


More information about the Python-bugs-list mailing list