[Bug 12838] Spiceworks IT Desktop: Wine corrupts bitmap files during extraction from installer

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 29 19:39:43 CST 2008


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


dimaki <dimaki at rocketmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |kernel32




--- Comment #8 from dimaki <dimaki at rocketmail.com>  2008-11-29 19:39:41 ---
I have isolated the problem to kernel32.dll, profile.c implementation. 

For some strange reason the installer makes these types of calls to
WritePrivateProfileStringA("Settings", "RTL", 0, path to bmp file). What's
unusual about this is that the last parameter is supposed to be a path to an
ini file and certainly not to a bmp file. Making this type of call on Windows
with the bitmap already existing results in the file staying the same with the
exception of an updated timestamp. In Wine on the other hand this results in
the bmp file being read in and then written out in a corrupted form. This is
what corrupts the bitmaps extracted by this installer.

I don't think I will be able to write a patch to fix this behaviour, but at
least I helped out with pinpointing the problem.


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