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>
(cherry picked from commit 1658d5a20d)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
Myah Caron 2019-11-23 19:01:43 +01:00 committed by Michael Stefaniuc
parent 29e934979e
commit 825d60d32f
1 changed files with 1 additions and 1 deletions

View File

@ -2112,7 +2112,7 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level,
}
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 */
HeapReAlloc( GetProcessHeap(), HEAP_REALLOC_IN_PLACE_ONLY,