librpc/rpc: ignore invalid auth_pad_length values in BIND, ALTER and AUTH3 pdus
commitaef032302863e5f3a888dbf4c52b21d561a0dff4
authorStefan Metzmacher <metze@samba.org>
Mon, 20 Jun 2016 14:26:56 +0000 (20 16:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Jun 2016 12:09:02 +0000 (24 14:09 +0200)
treecabc45b9ea40cf0255c5bc96757a3de4f3c6ce27
parent3f7e3ed8a276f16aaed87c1f3cd5b9781aa7e1af
librpc/rpc: ignore invalid auth_pad_length values in BIND, ALTER and AUTH3 pdus

This is a workarround for a bug in old Samba releases.
For BIND_ACK <= 3.5.x and for ALTER_RESP <= 4.2.x (see bug #11061).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11982

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
librpc/rpc/dcerpc_util.c