forked from Mirrors/wine-wine
kernel32: Allow NtQueryDirectoryFile underfilling FileInformation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47832 Signed-off-by: Myah Caron <qsniyg@mail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
389d110545
commit
1658d5a20d
|
@ -801,7 +801,7 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level,
|
||||||
}
|
}
|
||||||
|
|
||||||
info->data_len = io.Information;
|
info->data_len = io.Information;
|
||||||
if (!has_wildcard || info->data_len < info->data_size - max_entry_size)
|
if (!has_wildcard)
|
||||||
{
|
{
|
||||||
if (has_wildcard) /* release unused buffer space */
|
if (has_wildcard) /* release unused buffer space */
|
||||||
HeapReAlloc( GetProcessHeap(), HEAP_REALLOC_IN_PLACE_ONLY,
|
HeapReAlloc( GetProcessHeap(), HEAP_REALLOC_IN_PLACE_ONLY,
|
||||||
|
|
Loading…
Reference in New Issue