librpc/rpc: ignore invalid auth_pad_length values in BIND, ALTER and AUTH3 pdus
authorStefan Metzmacher <metze@samba.org>
Mon, 20 Jun 2016 14:26:56 +0000 (16:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 4 Aug 2016 08:59:19 +0000 (10:59 +0200)
commit90c2a94b9686d86457d74767310b4b72f90d8c82
treede568b23b28966803f56fabcab29e3aeb91ad0ab
parent30b5b9fd97ee68d0c78f1f820b552afa33f065f4
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>
(cherry picked from commit aef032302863e5f3a888dbf4c52b21d561a0dff4)
librpc/rpc/dcerpc_util.c