[Bug 2785] New: Crash in wininet when accessing CHM files

Wine Bugs wine-bugs at winehq.org
Tue Mar 8 05:00:57 CST 2005


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

           Summary: Crash in wininet when accessing CHM files
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-net
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: spa at starfinanz.de


Native shlwapi.dll calls GetUrlCacheEntryInfoExW in wininet.dll with parameters:
(L"Visited: sven at mk:@MSITStore:C:\\Programme\\StarMoney%205.0%20S-
Edition\\help\\49\\sm%2050%20hilfe.chm::/sm%2050%
20hilfe.chm::/htm/acc.acclist.hid.htm", (nil), (nil), (nil), (nil), (nil), 100)

GetUrlCacheEntryInfoExW then calls GetUrlCacheEntryInfoW with 
lpdwCacheEntryInfoBufferSize set to nil, and therein a call to 
URLCache_CopyEntry with lpdwBufferSize = nil. The line
    if (*lpdwBufferSize >= dwRequiredSize)
causes an Unhandled exception.

Should'nt be hard to fix, but I don't know the right way.

I can provide a (big) test app if wanted.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list