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>
(cherry picked from commit 1658d5a20d
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
parent
29e934979e
commit
825d60d32f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue