mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
partial wine sync to 1.1.32:
wininet: Avoid accessing uninitialized memory. svn path=/trunk/; revision=43733
This commit is contained in:
@@ -708,9 +708,9 @@ HINTERNET WINAPI FtpFindFirstFileA(HINTERNET hConnect,
|
||||
ret = FtpFindFirstFileW(hConnect, lpwzSearchFile, lpFindFileDataW, dwFlags, dwContext);
|
||||
HeapFree(GetProcessHeap(), 0, lpwzSearchFile);
|
||||
|
||||
if(lpFindFileData) {
|
||||
if (ret && lpFindFileData)
|
||||
WININET_find_data_WtoA(lpFindFileDataW, lpFindFileData);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user