mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +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;
|
||||
p->errcode = NERR_BufTooSmall;
|
||||
}
|
||||
|
||||
p->errcode = NERR_Success;
|
||||
else
|
||||
p->errcode = NERR_Success;
|
||||
p->buflen = i;
|
||||
n -= i;
|
||||
p->stringbuf = p->base + i;
|
||||
|
Loading…
Reference in New Issue
Block a user