[Bug 27497] New: Regedit mangles registry keys containing embedded NULLs
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Jun 15 18:36:43 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=27497
Summary: Regedit mangles registry keys containing embedded
NULLs
Product: Wine
Version: 1.3.22
Platform: x86
URL: http://www.gog.com/en/gamecard/sacrifice
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: programs
AssignedTo: wine-bugs at winehq.org
ReportedBy: austinenglish at gmail.com
Created an attachment (id=35155)
--> (http://bugs.winehq.org/attachment.cgi?id=35155)
raw file
Noticed this while messing around with Sacrifice
(http://www.gog.com/en/gamecard/sacrifice).
The game stores a few keys with embedded NULLs, apparently all the ones that
store string values (dword/hex values aren't affected).
Looking at the raw registry (system.reg) shows the values fine:
"Graphic detail"=dword:00000000
"IP address"="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
"Key repeat delay"=dword:0000000a
"Key repeat start"=dword:00000032
but if I export the key with wine's regedit, it mangles them:
"Graphic detail"=dword:00000000
"IP address"=""Key repeat delay"=dword:0000000a
"Key repeat start"=dword:00000032
notice how a quote goes missing along with the newline. The game really likes
those newlines. If I remove them and rerun the game, then adjust its settings,
it adds them back.
I'll attach a text file with the raw registry, along with what I get when
exporting.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list