cabinet.Extract

Stefan Leichter Stefan.Leichter at camLine.com
Sun Dec 28 14:53:17 CST 2003


Hello,

during playing with ie5.5 installer i noticed that the installing of some cab 
files failed directly after the extract call. Doing exactly the same extract 
call with the same cabinet file and the same content of the first parameter i 
got a crash with native cabinet dll. The debugger shows at the end of the 
function a "ret 8" assembler comand. 
This means to remove 8 words (not bytes) from the stack because the segment 
attribute is set to 32 bit (the pop command right before the ret is done for 
a 32 bit register and does not have the opcode 0x66 in front to change the 
register length).
Therefore the function extract must have 4 parameters instead of two. 

The bad thing is that the installer throws an exception instead of aborting.

ChangeLog
--------------
	the function ectract has four parameters not two


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cabinet.diff
Type: text/x-diff
Size: 1728 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031228/9eea4f65/cabinet.bin


More information about the wine-patches mailing list