librpc/rpc: ignore invalid auth_pad_length values in BIND, ALTER and AUTH3 pdus
commitcdc516535cd973e42d0d7996a962d8c1cbf5ed5d
authorStefan Metzmacher <metze@samba.org>
Mon, 20 Jun 2016 14:26:56 +0000 (20 16:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2016 11:11:20 +0000 (28 13:11 +0200)
tree15b224186d40ad00ea0f4b69de11ed7cacacc08e
parentc7fd95c39f26c8cd000f342b043ef1954c8e3325
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