1
0
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:
Jeremy Allison 0001-01-01 00:00:00 +00:00
parent 4c8af3bc9f
commit 2a75519b85

View File

@ -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;