mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +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:
parent
4c8af3bc9f
commit
2a75519b85
@ -283,8 +283,8 @@ 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;
|
||||||
p->stringbuf = p->base + i;
|
p->stringbuf = p->base + i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user