gss_krb5_ccache_name can return pointer to freed memory

Sam Hartman hartmans at MIT.EDU
Mon Jan 13 13:16:01 EST 2003

>>>>> "Ben" == Ben Cox <cox-work at> writes:

    Ben> On Sun, 2003-01-12 at 23:22, Sam Hartman wrote:
    >> I think if we allocate the memory we need a free function.

    Ben> This would just be a shim around free(3), wouldn't it?  No
    Ben> need for anything any more complex, unless I misunderstand
    Ben> something.

Correct, but you do at least need this to make sure you get the right
free if the application and library are using different malloc

More information about the krbdev mailing list