[PATCH] wininet: added one missing buffersize check in URLCache_CopyEntry (Coverity)

Alexandre Julliard julliard at winehq.org
Mon Oct 25 07:27:12 CDT 2010


Marcus Meissner <marcus at jet.franken.de> writes:

> Hi,
>
> CID 831, indirectly spotted by Coverity, one missing
> check for (*lpdwBufferSize >= dwRequiredSize) added.

It doesn't work:

../../../tools/runtest -q -P wine -M wininet.dll -T ../../.. -p wininet_test.exe.so urlcache.c && touch urlcache.ok
urlcache.c:219: Test failed: RetrieveUrlCacheEntryFile failed with error 122
wine: Unhandled page fault on read access to 0x00000000 at address 0x6820cb08 (thread 0028), starting debugger...

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list