smbd: Add some structure protection for durable reconnect
authorVolker Lendecke <vl@samba.org>
Mon, 10 Sep 2018 12:53:37 +0000 (14:53 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 14 Sep 2018 05:49:13 +0000 (07:49 +0200)
commit5e4f34e707709ba84be30cd271b10033989b0cbb
treebdd9ed36e32409a9169b34790c8815a980282c3a
parent93d72bcfb0dea3d7734771bbb550c45d642955c9
smbd: Add some structure protection for durable reconnect

We should consume all data, and the ndr_pull function fills in all
fields. Thus the ZERO_STRUCT(cookie) is not required.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/durable.c