[krbdev.mit.edu #5946] memory leak in gss_accept_sec_context
Public Submitter via RT
rt-comment at krbdev.mit.edu
Mon Apr 21 06:28:04 EDT 2008
For a simple client server program with credential delegation enabled,
reports memory leak in the following location when attached to valgrind.
Call stack
-----------
==28305== at 0x401A824: malloc (vg_replace_malloc.c:207)
==28305== by 0x402A4D1: gssint_convert_name_to_union_name
(g_glue.c:468)
==28305== by 0x40279D1: gss_accept_sec_context
(g_accept_sec_context.c:303)
function code
==============
OM_uint32 gssint_convert_name_to_union_name(minor_status, mech,
internal_name, external_name)
OM_uint32 *minor_status;
gss_mechanism mech;
gss_name_t internal_name;
gss_name_t *external_name;
{
OM_uint32 major_status,tmp;
gss_union_name_t union_name;
==> union_name = (gss_union_name_t) malloc (sizeof
(gss_union_name_desc));
This issue is occurs both in version 1.5.4 and 1.6.3
More information about the krb5-bugs
mailing list