mirror of
https://github.com/samba-team/samba.git
synced 2025-09-23 01:44:20 +03:00
ipc.c: Fixed problem where we were not returning 'buffer too small'
when NT sends up a mdrcnt of zero. Jeremy.
This commit is contained in:
@@ -283,7 +283,7 @@ static BOOL init_package(struct pack_desc* p, int count, int subcount)
|
|||||||
i = n = 0;
|
i = n = 0;
|
||||||
p->errcode = NERR_BufTooSmall;
|
p->errcode = NERR_BufTooSmall;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
p->errcode = NERR_Success;
|
p->errcode = NERR_Success;
|
||||||
p->buflen = i;
|
p->buflen = i;
|
||||||
n -= i;
|
n -= i;
|
||||||
|
Reference in New Issue
Block a user