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

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 16 00:29:17 CST 2012


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

Dmitry Timoshkov <dmitry at baikal.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38887|0                           |1
        is obsolete|                            |

--- Comment #6 from Dmitry Timoshkov <dmitry at baikal.ru> 2012-02-16 00:29:17 CST ---
Created attachment 38900
  --> http://bugs.winehq.org/attachment.cgi?id=38900
Test C program that fails on wine and works on windows

Here is a version of the test without magic numbers, and its output under XP:

f 000007E8, fmap 000007F4, ptr 20000000
test succeeded
f2 000007DC, fmap2 000007D8, ptr2 00350000
test succeeded

It looks like Windows successfully maps a PE file with SEC_IMAGE without
relocations somewhere else if its specified base address already occupied.

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