[Bug 30432] UpdateResource doesn't update Resource Table virtual address

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 15 16:52:34 CDT 2014


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

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian at fds-team.de

--- Comment #9 from Sebastian Lackner <sebastian at fds-team.de> ---
Created attachment 48791
  --> http://bugs.winehq.org/attachment.cgi?id=48791
kernel32: Update VirtualAddress of resource section in write_raw_resources.

I'm wondering that noone else looked at this issue yet - if I don't miss
anything the virtual address should be relatively easy to fix. I've attached a
patch that lets the test succeed with "Found manifest". Please report back if
it solves the issue (and doesn't break anything else), if yes I'll send it to
wine-patches.

The checksum is a bit more difficult to fix, because either kernel32 would have
to import imagehlp (which is most likely not allowd) or we have to duplicate
code. This file already seems to contain a function to calculate the checksum:
http://source.winehq.org/source/dlls/imagehlp/modify.c#L88

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