Commit 9a13b153 authored by Mark Andrews's avatar Mark Andrews
Browse files

bad pointer

parent db30f4bd
......@@ -16,7 +16,7 @@
*/
/*
* $Id: gssapi_link.c,v 1.8 2008/04/03 00:45:23 marka Exp $
* $Id: gssapi_link.c,v 1.9 2008/04/03 02:09:18 marka Exp $
*/
#include <config.h>
......@@ -292,6 +292,7 @@ static dst_func_t gssapi_functions = {
NULL, /*%< tofile */
NULL, /*%< parse */
NULL, /*%< cleanup */
NULL
};
isc_result_t
......
......@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: spnego.c,v 1.6 2008/04/03 00:45:23 marka Exp $ */
/* $Id: spnego.c,v 1.7 2008/04/03 02:09:18 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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment