[Bug 27026] New: Regedit.exe - missformed data in an exported REG-file

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 3 15:56:24 CDT 2011


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

           Summary: Regedit.exe - missformed data in an exported REG-file
           Product: Wine
           Version: 1.3.19
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: newsletter at Schiermeier-Software.de


Created an attachment (id=34462)
 --> (http://bugs.winehq.org/attachment.cgi?id=34462)
REGEDITs value box

There are some issues in the program REGEDIT.EXE:

1.) This can be found in the wine-registry-file USER.REG

[Software\\AGAVA TBP] 1304453547
"Frequency"=hex(b):00,c0,69,2a,c9,00,00,00

'b' is for "<QWORD value (as comma-delimited list of 8 hexadecimal values, in
little endian byte order)>"
See <http://en.wikipedia.org/wiki/Windows_Registry#.REG_files> and MSDN.

After exporting this from REGEDITs menu 'Registry/Export Registry File...' (in
Regedit4 and in Regedit5 format) I will get:

[HKEY_USERS\S-1-5-21-0-0-0-1000\Software\AGAVA TBP]
"Frequency"=hex(11):00,c0,69,2a,c9,00,00,00

OK, 11 in decimal is B in hex, but this REG-File failed in use with an other
program.

2.) Some escaped Characters in the wine-registry are also not exported correct:

in USER.REG is written:

[Software\\RIT\\The Bat!] 1304441840
"MslOrder"="p:\\thebat!\\images\\default.msl\r\n"
"SortTplActionPos"="FORM 175 277 673 725 max;\r\nBook 0 0 884
1260;\r\npnTplReply 33 10 831 1232;\r\neFwdAddr 30 10 24 1111;\r\ncbFwdHeaders
63 10 18 236;\r\ncbFwdNoAttach 89 10 18 183;\r\ncbFwdMIME 114 10 19
331;\r\nbFwdAddr 27 1131 31 111;\r\npnTplFwd 167 10 697 1232;\r\nbNewAddr 27
1141 31 101;\r\neNewAddr 30 10 22 1121;\r\npnTplCreate 94 10 770
1232;\r\ncbNewMsgStripHeader 92 10 16 307;\r\ncbNewMsgFlag 204 10 16
196;\r\ncbNewMsgPark 178 10 16 158;\r\ncbNewMsgRead 153 10 16
237;\r\ncbNewMsgNoAttach 118 10 16 267;\r\ncbNewMsgAutoCreate 66 10 16
173;\r\nbNewMsgAddr 31 1132 31 110;\r\neNewMsgFolder 33 10 22 1112;\r\npnTplNew
256 10 608 1232;\r\nTplFrame 0 0 608 1232;\r\nMsgEditDock 0 0 27
1232;\r\npnREdit 27 0 581 1232;\r\nTplEditBottomDock 579 2 0
1228;\r\nTplEditLeftDock 2 2 577 0;\r\nTplEditRightDock 2 1230 577
0;\r\npnForEditMenu 39 59 51 213;\r\npnForSpellMenu 113 59 51 213;\r\nbOK 894
970 30 135;\r\nbCancel 894 1115 30 135;\r\n"
"TemplatePreviewHeaders"="FROM\rTO\rCC\rSubject"

which is wrongly exported to:

[HKEY_USERS\S-1-5-21-0-0-0-1000\Software\RIT\The Bat!]
"MslOrder"="p:\\thebat!\\images\\default.msl
\n"
"SortTplActionPos"="FORM 175 277 673 725 max;
\nBook 0 0 884 1260;
\npnTplReply 33 10 831 1232;
\neFwdAddr 30 10 24 1111;
\ncbFwdHeaders 63 10 18 236;
\ncbFwdNoAttach 89 10 18 183;
\ncbFwdMIME 114 10 19 331;
\nbFwdAddr 27 1131 31 111;
\npnTplFwd 167 10 697 1232;
\nbNewAddr 27 1141 31 101;
\neNewAddr 30 10 22 1121;
\npnTplCreate 94 10 770 1232;
\ncbNewMsgStripHeader 92 10 16 307;
\ncbNewMsgFlag 204 10 16 196;
\ncbNewMsgPark 178 10 16 158;
\ncbNewMsgRead 153 10 16 237;
\ncbNewMsgNoAttach 118 10 16 267;
\ncbNewMsgAutoCreate 66 10 16 173;
\nbNewMsgAddr 31 1132 31 110;
\neNewMsgFolder 33 10 22 1112;
\npnTplNew 256 10 608 1232;
\nTplFrame 0 0 608 1232;
\nMsgEditDock 0 0 27 1232;
\npnREdit 27 0 581 1232;
\nTplEditBottomDock 579 2 0 1228;
\nTplEditLeftDock 2 2 577 0;
\nTplEditRightDock 2 1230 577 0;
\npnForEditMenu 39 59 51 213;
\npnForSpellMenu 113 59 51 213;
\nbOK 894 970 30 135;
\nbCancel 894 1115 30 135;
\n"
"TemplatePreviewHeaders"="FROM
TO
CC
Subject"

So there are some linefeeds and carrige-returns mixed. 
The GUI shows simply some squares in the input box.

-- 
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