[Bug 38895] [bisected] IrfanView cannot use its WebP plugin

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 10 17:03:13 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38895

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
     Ever confirmed|0                           |1

--- Comment #6 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

I predict an influx of dupe bug reports if distro packagers don't revert the
commit on Wine 1.7.47
Unfortunately I didn't have the time this week to follow the project closely.

Erich's patch hides the real problem by keeping the default init value present
in in PE compiled with /GS.

The effective bits of the security cookie depends on the Windows version +
Windows bitness + initial cookie value.
On 32-bit Windows XP/2003 you need to zero out the high 16-bit word (only 16
bit used).
On 32-bit Vista/Win7, 32 bits of the cookie are used unless the "magic" 16-bit
init value is given.
On 64-bit Windows it's always 48 bit being used (highest 16-bit word zeroed).

This code snippet gives some hints (not perfect but to illustrate):

https://github.com/DynamoRIO/dynamorio/blob/master/core/win32/loader.c#L1924

Regards

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