[Bug 14882] New: UpdateResource fails to delete a resource

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 16 06:00:38 CDT 2008


           Summary: UpdateResource fails to delete a resource
           Product: Wine
           Version: 1.1.2
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: johnlen7+wine at gmail.com

UpdateResource should, according to MSDN, delete a resource if
(!lpData)&&(!cbData). This is actually the way applications can delete
resources and various resource-related application, like InnoSetup, use it.

However wine's current implementation of UpdateResourceW unconditionally calls
allocate_resource_data, which will fail if either lpData or cbData is NULL.

I hope I can fix it, but I will need to familiarize myself with kernel32 code

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