From 5c2712bfb80ef2e98adf30494220847cc5dfd377 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 3 Apr 2008 02:13:29 +0000 Subject: [PATCH] bad pointer --- lib/dns/gssapi_link.c | 3 ++- lib/dns/spnego.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/dns/gssapi_link.c b/lib/dns/gssapi_link.c index 963b3e2995..a8252587b6 100644 --- a/lib/dns/gssapi_link.c +++ b/lib/dns/gssapi_link.c @@ -16,7 +16,7 @@ */ /* - * $Id: gssapi_link.c,v 1.7.128.1 2008/04/03 00:47:46 marka Exp $ + * $Id: gssapi_link.c,v 1.7.128.2 2008/04/03 02:13:29 marka Exp $ */ #include @@ -292,6 +292,7 @@ static dst_func_t gssapi_functions = { NULL, /*%< tofile */ NULL, /*%< parse */ NULL, /*%< cleanup */ + NULL }; isc_result_t diff --git a/lib/dns/spnego.c b/lib/dns/spnego.c index c8e7666c42..553712e698 100644 --- a/lib/dns/spnego.c +++ b/lib/dns/spnego.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: spnego.c,v 1.5.128.1 2008/04/03 00:47:46 marka Exp $ */ +/* $Id: spnego.c,v 1.5.128.2 2008/04/03 02:13:29 marka Exp $ */ /*! \file * \brief @@ -1405,7 +1405,7 @@ gssapi_spnego_encapsulate(OM_uint32 * minor_status, p = gssapi_mech_make_header(output_token->value, len, mech); if (p == NULL) { if (output_token->length != 0) - gss_release_buffer(&minor_status, output_token); + gss_release_buffer(minor_status, output_token); return (GSS_S_FAILURE); } memcpy(p, buf, buf_size);