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

Re: krb5_config_set



Hello Michael,

> I want to implement krb5_config_set, krb5_config_vset ... etc. Is  
> it safe
> to delete, replace and elements to the krb5_config_section *cf  
> member of
> the krb5_context? Or could deleting an element create a dangling  
> pointer
> somewhere? I'm just wondering what you think about the whole idea.

Much of the code today assumes that krb5_config_get_string returns a  
static
string, so if you want to change the strings you have to modify all  
consumers
to make a local copy.

krb5_config is heimdal specific, so its possible to change the  
interface.

Love