summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/gssapi/get_mic.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-05-08 23:30:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:45 -0500
commitbfff6b0e640b3b3456ec1d9d26da0bd80a08585f (patch)
tree5c4b3154252464e0dc12f8cda6f109b98493724f /source4/heimdal/lib/gssapi/get_mic.c
parentd4b8cb0bb502f6daf0ddf93837779e0a805af7d7 (diff)
downloadsamba-bfff6b0e640b3b3456ec1d9d26da0bd80a08585f.tar.gz
samba-bfff6b0e640b3b3456ec1d9d26da0bd80a08585f.tar.bz2
samba-bfff6b0e640b3b3456ec1d9d26da0bd80a08585f.zip
r15515: Syncronsise with current lorikeet-heimdal.
Andrew Bartlett (This used to be commit 0132312124260f74001546a34ff96db89d72b7f6)
Diffstat (limited to 'source4/heimdal/lib/gssapi/get_mic.c')
-rw-r--r--source4/heimdal/lib/gssapi/get_mic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/heimdal/lib/gssapi/get_mic.c b/source4/heimdal/lib/gssapi/get_mic.c
index fc9e9aa1a9..76f69cf41c 100644
--- a/source4/heimdal/lib/gssapi/get_mic.c
+++ b/source4/heimdal/lib/gssapi/get_mic.c
@@ -33,7 +33,7 @@
#include "gssapi_locl.h"
-RCSID("$Id: get_mic.c,v 1.30 2006/04/02 02:12:52 lha Exp $");
+RCSID("$Id: get_mic.c,v 1.31 2006/05/08 09:55:37 lha Exp $");
static OM_uint32
mic_des
@@ -172,6 +172,8 @@ mic_des3
tmp = malloc (message_buffer->length + 8);
if (tmp == NULL) {
free (message_token->value);
+ message_token->value = NULL;
+ message_token->length = 0;
*minor_status = ENOMEM;
return GSS_S_FAILURE;
}