s3:mdssvc: fix unmarshalling of empty CNID array
authorRalph Boehme <slow@samba.org>
Wed, 7 Aug 2019 12:02:12 +0000 (14:02 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 8 Aug 2019 20:24:32 +0000 (20:24 +0000)
commitb34fd5b9978904ef0b316ba11564691fdac5316c
treea04aece73b479e599b38ba7ce6acbeca03b0f061
parent29ef0306241da38356ffa1ee927e1b343564426e
s3:mdssvc: fix unmarshalling of empty CNID array

len=0 is invalid, len=8 is an empty array, len>8 is an array with members, so
for the len=8 case we must add the empty cnid array.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/samba4.local.mdspkt [deleted file]
source3/rpc_server/mdssvc/marshalling.c