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

Re: Invalid free() in gssapi_krb5_set_error_string?




>There seems to be some general confusion in the libs as to if this
>string should be allocated, or if it is static storage on a context
>somewhere.  Note that gssapi_krb5_get_error_string() does not free() the
>string before assigning the pointer to NULL, and neither does
>krb5_get_error_string().  
>
>Is there a document in which the correct semantics for the error string
>handling is recorded, at least so I can figure out what the correct fix
>should be?