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@winehq.org ReportedBy: spa@starfinanz.de
Native shlwapi.dll calls GetUrlCacheEntryInfoExW in wininet.dll with parameters: (L"Visited: sven@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.