r24282: Try to fix the occasional Samba4 crash in BASE-BENCH-READWRITE, as
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Aug 2007 06:26:19 +0000 (06:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:01:35 +0000 (15:01 -0500)
commit233e4f72d63e074692662ac4f6a523ad8a893c57
tree4e1bb8beeb820d5a5616a4e38dce606a74a171a5
parent9fd3416452ac82d27dac7b8c16f6ad89f5551f6b
r24282: Try to fix the occasional Samba4 crash in BASE-BENCH-READWRITE, as
seen in particular on opi.

This looked like a Heimdal problem, but I think it was simply that we
didn't do a talloc_reference() to keep tabs on the memory we were
using, and in between obtaining the pointer and using it, it was
assigned to unrelated memory.

Andrew Bartlett
(This used to be commit a650ad8b37d58ba64458a33313714d1abfc4850b)
source4/auth/credentials/credentials_krb5.c
source4/auth/gensec/gensec_gssapi.c