s3-libsmb: Initialise ticket to ensure we do not invalid memory
authorAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2012 05:55:04 +0000 (16:55 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Oct 2012 09:27:58 +0000 (11:27 +0200)
commit8013e2e96fd54446584cb91c0120acf41d9e8d46
treeb8a4d930d1e06b6842664760e690894dac46a0e6
parentf156a357e6af0aaa6b1bcddc521761d43409e70f
s3-libsmb: Initialise ticket to ensure we do not invalid memory

The free is however a talloc_free(), which has additional protection against
freeing the wrong thing.

Andrew Bartlett

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Mar  2 01:45:19 CET 2012 on sn-devel-104
(cherry picked from commit f1452a296429b79755235f4a480f0d5ea38ce178)

Fix bug #8788 - spnego_parse_krb5_wrap() frees invalid memory.
(cherry picked from commit e96f50c9bb145a6af2c023e8ff4c3e8888c5a4a6)
source3/libsmb/clispnego.c