bad pointer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user