[Python-bugs-list] [ python-Bugs-722413 ] _winreg doesn't handle NULL bytes in value names

SourceForge.net noreply@sourceforge.net
Wed, 16 Apr 2003 03:54:25 -0700


Bugs item #722413, was opened at 2003-04-16 20:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=722413&group_id=5470

Category: Windows
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Hammond (mhammond)
Assigned to: Tim Peters (tim_one)
Summary: _winreg doesn't handle NULL bytes in value names

Initial Comment:
Reported via pywin32 mailing list

>>We are trying to read all of the data under specific
registry keys.
>>Unfortunately, we cannot seem to enumerate keys or values
>>correctly if
>>the name contains Unicode or binary characters.
>>    
>>
>
>Eeek - you mean the *value* names can contain embedded
NULL characters?!
>  
>
The value names can contain NULL bytes. The NT/2K/XP
registry is all 
MBCS. The value names cannot contain MBCS character 0.
The key names



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=722413&group_id=5470