Commit 2d0e113d authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent aafe39a8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment