mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 20:53:38 +00:00
mountmgr: Return STATUS_BUFFER_OVERFLOW if an insufficient buffer is passed to IOCTL_MOUNTMGR_ENUMERATE_CREDENTIALS.
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@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
33ed41950d
commit
56104123d9
|
@ -877,7 +877,7 @@ static NTSTATUS enumerate_credentials( void *buff, SIZE_T insize, SIZE_T outsize
|
|||
{
|
||||
if (size >= sizeof(list->size)) list->size = size;
|
||||
iosb->Information = sizeof(list->size);
|
||||
status = STATUS_MORE_ENTRIES;
|
||||
status = STATUS_BUFFER_OVERFLOW;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue