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
Myah Caron 2019-11-23 19:01:43 +01:00 committed by Alexandre Julliard
parent 389d110545
commit 1658d5a20d
1 changed files with 1 additions and 1 deletions

View File

@ -801,7 +801,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,