[Bug 22813] New: wine's loader does not check invalid image size

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 22 03:34:30 CDT 2010


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

           Summary: wine's loader does not check invalid image size
           Product: Wine
           Version: 1.1.44
          Platform: x86
               URL: http://ghostscript.com/~hintak/wine-debug/
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: loader
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: htl10 at users.sourceforge.net


+++ This bug was initially created as a clone of Bug #22812 +++
(#22812 against the compilation - this bug is about the loader not complaining)

part of ghostscript's building process runs:

mt -nologo -manifest psi/dwsetup_x86.manifest -outputresource:setupgs.exe;#1
mt -nologo -manifest psi/dwuninst_x86.manifest -outputresource:uninstgs.exe;#1

This step corrupts executables under wine and they gain a wrong image size;
both vista and win7 then complains they are not valid win32 applications. See
discussion on wine-devel mailing list.

But wine would happily load them, so wine is not checking for validity. Here
are two such broken executables:

http://ghostscript.com/~hintak/wine-debug/setupgs-wine.exe
http://ghostscript.com/~hintak/wine-debug/uninstgs-wine.exe

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