wininet: Check URLCache_LocalFileNameToPathW() return values in CreateUrlCacheEntryW().
commit7782e8188795ddc4cbdb51d81e1d5aa7200f6a33
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 23 Sep 2010 09:48:04 +0000 (23 11:48 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 23 Sep 2010 10:06:38 +0000 (23 12:06 +0200)
treea6689143578e916509458363d1a4bd4eb7504df0
parent578df29b9fe9f015029703323d6433bdf01f531a
wininet: Check URLCache_LocalFileNameToPathW() return values in CreateUrlCacheEntryW().

It would be unfortunate if a long file name would cause us to open a file
based on mostly uninitialized data and write the contents of some random
webpage into it.
dlls/wininet/urlcache.c