[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with gss_set_allowable_enctypes()



On 3/29/07, Kevin Coffman <kwc@citi.umich.edu> wrote:
> Testing linux gssd with latest heimdal cvs (as of a couple of days
> ago).  Found two problems:
>
>
> 2) _gsskrb5_set_cred_option() doesn't have support for
> GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X and always returns EINVAL.

btw, according to valgrind, this error path also leaks memory.

==7666== 208 bytes in 52 blocks are definitely lost in loss record 24 of 34
==7666==    at 0x40053D0: malloc (vg_replace_malloc.c:149)
==7666==    by 0x4057147: krb5_data_alloc (data.c:70)
==7666==    by 0x407C47F: krb5_storage_to_data (store.c:143)
==7666==    by 0x43C38AF: gss_krb5_set_allowable_enctypes (gss_krb5.c:446)
==7666==    by 0x40308ED: gss_set_allowable_enctypes
(g_set_allowable_enctypes.c:74)
==7666==    by 0x804D9E9: limit_krb5_enctypes (krb5_util.c:296)
==7666==    by 0x804AEE2: create_auth_rpc_client (gssd_proc.c:533)
==7666==    by 0x804C324: handle_krb5_upcall (gssd_proc.c:717)
==7666==    by 0x804AB52: gssd_run (gssd_main_loop.c:76)
==7666==    by 0x804A8AE: main (gssd.c:168)
==7666==