This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: _winreg doesn't handle NULL bytes in value names
Type: Stage:
Components: Windows Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: mhammond Nosy List: mhammond, tim.peters
Priority: normal Keywords:

Created on 2003-04-16 10:54 by mhammond, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Messages (3)
msg15477 - (view) Author: Mark Hammond (mhammond) * (Python committer) Date: 2003-04-16 10:54
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

msg15478 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2003-04-28 19:33
Logged In: YES 
user_id=31435

Reassigned to MarkH.
msg15479 - (view) Author: Mark Hammond (mhammond) * (Python committer) Date: 2003-05-14 10:47
Logged In: YES 
user_id=14198

Dupe of 672132 - and I submitted them both!
History
Date User Action Args
2022-04-10 16:08:10adminsetgithub: 38309
2003-04-16 10:54:24mhammondcreate