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>
This commit is contained in:
parent
389d110545
commit
1658d5a20d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue