Commit 33ed4195 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

mountmgr: Return STATUS_BUFFER_OVERFLOW if an insufficient buffer is passed to…

mountmgr: Return STATUS_BUFFER_OVERFLOW if an insufficient buffer is passed to IOCTL_MOUNTMGR_QUERY_DHCP_REQUEST_PARAMS. STATUS_MORE_ENTRIES is used for directory enumeration APIs, and signals that a continuation will be returned on the next call. Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent a200c47c
......@@ -319,7 +319,7 @@ static void WINAPI query_dhcp_request_params( TP_CALLBACK_INSTANCE *instance, vo
{
if (offset >= sizeof(query->size)) query->size = offset;
offset = sizeof(query->size);
irp->IoStatus.u.Status = STATUS_MORE_ENTRIES;
irp->IoStatus.u.Status = STATUS_BUFFER_OVERFLOW;
goto err;
}
}
......
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