[Python-bugs-list] [Bug #113828] getpythonregpath with null data in registry key

noreply@sourceforge.net noreply@sourceforge.net
Thu, 7 Sep 2000 13:46:45 -0700


Bug #113828, was updated on 2000-Sep-07 13:46
Here is a current snapshot of the bug.

Project: Python
Category: Windows
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Summary: getpythonregpath with null data in registry key

Details: 
File pc/getpathp.c
Function:getpythonregpath

ppPaths[index] can be null but this fragment is not null protected:

len = _tcslen(ppPaths[index]);
_tcsncpy(szCur, ppPaths[index], len);

Grzegorz Makarewicz

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=113828&group_id=5470