[Bug 824] \0 character is added to REG_MULTI_SZ registry values

Wine Bugs wine-bugs at winehq.org
Sun Oct 10 13:14:25 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=824





------- Additional Comments From randy.galbraith at cox.net  2004-10-10 13:14 -------
Created an attachment (id=697)
 --> (http://bugs.winehq.org/attachment.cgi?id=697&action=view)
Proposed patch to wine/server/registry.c 1.60

This patch proposes changes to wine/server/registry.c to handle REG_MULTI_SZ as
a type of REG_BINARY instead of the current REG_SZ mapping.  This is my first
ever proposed patch to the Wine project, hence it will require careful review
by the Wine experts.

I've tested this change on my system and it appears to work correctly.	The
first time I ran my test program I got the following output from Wine:

Line 4944: Malformed value '"Dependent Files"=str(7):""'
Line 88: Malformed value '"Empty Value0"=str(7):""'
Line 89: Malformed value '"Empty Value1"=str(7):""'
Line 90: Malformed value '"Empty Value2"=str(7):"\1"'
Line 91: Malformed value '"Empty Value3"=str(7):"one\0two\0three\0"'

On the second run, there was no output.

Best regards,
-Randy Galbraith


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list