s3: krb5: keytab - The done label can be jumped to with context == NULL.
authorJeremy Allison <jra@samba.org>
Wed, 8 Jun 2016 21:50:59 +0000 (14:50 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Jun 2016 12:26:39 +0000 (14:26 +0200)
commit3af9006f3d6cc1219885ca7ce33a8ec075af7070
tree055a224b4f54470f17ba75256e8f068fd171bd4c
parent4759f64e94e01e32b36f048d20bf4c94e4398ef3
s3: krb5: keytab - The done label can be jumped to with context == NULL.

Ensure we don't crash in this case.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Thu Jun  9 13:18:56 CEST 2016 on sn-devel-144

(cherry picked from commit e46cb9b835eb8f2bd998def82baf6f07fda9fe5c)

Autobuild-User(v4-2-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-2-test): Wed Jun 15 14:26:39 CEST 2016 on sn-devel-104
source3/libads/kerberos_keytab.c