[Bug 29899] New: mapviewoffileex fails under certain condition with PE images

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 15 07:02:58 CST 2012


             Bug #: 29899
           Summary: mapviewoffileex fails under certain condition with PE
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: tizbac2 at gmail.com
    Classification: Unclassified

Created attachment 38887
  --> http://bugs.winehq.org/attachment.cgi?id=38887
Test C program that fails on wine and works on windows

Using mapviewoffileex on the same pe image from 2 different file handles, on
wine tries to relocate and if the dll does not have .reloc , it will fail ,
instead on windows the call to MapViewOfFileEx returns a valid pointer both

The attached C program together with a non relocatable DLL will fail on wine,
but on windows xp it works and it gives both times "test succeeded"

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