http://bugs.winehq.org/show_bug.cgi?id=27132
Summary: Crash in MSI_RecordSetStringW when embedding RTF with NUL character into an MSI with Wix Product: Wine Version: 1.3.19 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs@winehq.org ReportedBy: sam@robots.org.uk
Created an attachment (id=34640) --> (http://bugs.winehq.org/attachment.cgi?id=34640) test case
When using WiX to build an MSI installer package, Wine will crash when an RTF file that will be contained in the installer contains a NUL character.
To reproduce:
1. Run build.msi in the attached test case. 2. light should crash while reading from 0x30
To run the test case, you will need Mono http://ftp.novell.com/pub/mono/archive/2.10.2/windows-installer/5/mono-2.10.2-gtksharp-2.12.10-win32-5.exe and WiX http://wix.codeplex.com/releases/view/44406#DownloadId=119160. You will need to put WiX's tools in Wine's PATH, or modify build.sh to give the full path to the WiX tools when it invokes light and candle.
http://bugs.winehq.org/show_bug.cgi?id=27132
--- Comment #1 from Sam Morris sam@robots.org.uk 2011-05-11 11:38:29 CDT --- Created an attachment (id=34641) --> (http://bugs.winehq.org/attachment.cgi?id=34641) wine crash data
http://bugs.winehq.org/show_bug.cgi?id=27132
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=27132
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #34641|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=27132
--- Comment #2 from Sam Morris sam@robots.org.uk 2011-05-11 12:14:54 CDT --- Whoops, I think I somehow deleted your comment, and I've also deleted the email. Can you tell me what you need WINEDEBUG to be set to again?
http://bugs.winehq.org/show_bug.cgi?id=27132
--- Comment #3 from Sam Morris sam@robots.org.uk 2011-05-11 12:40:07 CDT --- (In reply to comment #2)
Uh, wrong bug. Ignore that.
http://bugs.winehq.org/show_bug.cgi?id=27132
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2011-05-11 12:58:43 CDT --- Please attach Control.idt.
http://bugs.winehq.org/show_bug.cgi?id=27132
--- Comment #5 from Sam Morris sam@robots.org.uk 2011-05-11 13:01:19 CDT --- Created an attachment (id=34648) --> (http://bugs.winehq.org/attachment.cgi?id=34648) Control.idt
http://bugs.winehq.org/show_bug.cgi?id=27132
--- Comment #6 from Hans Leidekker hans@meelstraat.net 2011-05-12 06:47:46 CDT --- Created an attachment (id=34665) --> (http://bugs.winehq.org/attachment.cgi?id=34665) msi: Handle embedded nulls in text archives.
Try this patch.
http://bugs.winehq.org/show_bug.cgi?id=27132
--- Comment #7 from Sam Morris sam@robots.org.uk 2011-05-12 07:42:45 CDT --- That fixes it, thanks!
http://bugs.winehq.org/show_bug.cgi?id=27132
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com 2011-05-12 14:01:47 CDT --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/e2ba5dce06b80a38ee763081ee4...
http://bugs.winehq.org/show_bug.cgi?id=27132
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2011-05-13 13:33:19 CDT --- Closing bugs fixed in 1.3.20.
http://bugs.winehq.org/show_bug.cgi?id=27132
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e2ba5dce06b80a38ee763081ee4 | |348cf7c28bde0
https://bugs.winehq.org/show_bug.cgi?id=27132
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20210315120534/https://raw | |.githubusercontent.com/Casa | |DeRobison/wixtoolset-codepl | |ex/master/archived-stable-v | |ersions/WiX%20Toolset%20v3. | |0%20Stable/Wix3.msi CC| |focht@gmx.net Keywords| |testcase Summary|Crash in |WiX Toolset v3.x: light.exe |MSI_RecordSetStringW when |crashes in |embedding RTF with NUL |MSI_RecordSetStringW when |character into an MSI with |embedding RTF with NUL |Wix |character into an MSI