mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:58:20 +00:00
mountmgr: Return STATUS_BUFFER_OVERFLOW from query_unix_drive() if the buffer is too small.
STATUS_MORE_ENTRIES is meant for enumeration APIs like NtQueryDirectoryFile(); we are not enumerating anything here. Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
aafe39a812
commit
2d0e113db1
|
@ -330,7 +330,7 @@ static NTSTATUS query_unix_drive( void *buff, SIZE_T insize,
|
|||
output->type = type;
|
||||
iosb->Information = FIELD_OFFSET( struct mountmgr_unix_drive, type ) + sizeof(output->type);
|
||||
}
|
||||
status = STATUS_MORE_ENTRIES;
|
||||
status = STATUS_BUFFER_OVERFLOW;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue