Zebediah Figura : mountmgr: Return STATUS_BUFFER_OVERFLOW if an insufficient buffer is passed to IOCTL_MOUNTMGR_QUERY_DHCP_REQUEST_PARAMS.
Alexandre Julliard
julliard at winehq.org
Tue Aug 31 15:40:22 CDT 2021
Module: wine
Branch: master
Commit: 33ed41950dd900bf213511e3674d4c47fe7d3323
URL: https://source.winehq.org/git/wine.git/?a=commit;h=33ed41950dd900bf213511e3674d4c47fe7d3323
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Mon Aug 30 22:25:59 2021 -0500
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: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mountmgr.sys/mountmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mountmgr.sys/mountmgr.c b/dlls/mountmgr.sys/mountmgr.c
index d5cf1ae5c4b..757983c3f0b 100644
--- a/dlls/mountmgr.sys/mountmgr.c
+++ b/dlls/mountmgr.sys/mountmgr.c
@@ -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;
}
}
More information about the wine-cvs
mailing list