[issue3367] Uninitialized value read in parsetok.c

Serhiy Storchaka report at bugs.python.org
Sun Oct 27 13:14:34 CET 2013


Serhiy Storchaka added the comment:

I see a crash with valgring even without hitting Ctrl-D.

$ valgrind --db-attach=yes --suppressions=Misc/valgrind-python.supp ./python
==26172== Memcheck, a memory error detector
==26172== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==26172== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==26172== Command: ./python
==26172== 
==26172== Conditional jump or move depends on uninitialised value(s)
==26172==    at 0x414E578: __wcslen_sse2 (wcslen-sse2.S:95)
==26172==    by 0x807788D: calculate_path (getpath.c:647)
==26172==    by 0x807803B: Py_GetProgramFullPath (getpath.c:875)
==26172==    by 0x8070C5E: _PySys_Init (sysmodule.c:1628)
==26172==    by 0x8060680: _Py_InitializeEx_Private (pythonrun.c:400)
==26172==    by 0x8060939: Py_InitializeEx (pythonrun.c:467)
==26172==    by 0x806094D: Py_Initialize (pythonrun.c:473)
==26172==    by 0x807956A: Py_Main (main.c:683)
==26172==    by 0x805CFE3: main (python.c:69)
==26172== 
==26172== 
==26172== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ----

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list