question about 1.1.6 client code: rc_config_init()
Alan DeKok
aland at deployingradius.com
Wed Feb 17 14:58:56 CET 2010
Adam Lewis wrote:
> Hi,
> I'm currently trying to use the 1.1.6 client code to create an embedded
> client. Doing a code inspection of rc_config_init() in lib\config.c , the
> following code looks suspicious:
Yup.
> I think it's trying to malloc space for server options in rh but this
> doesn't happen. The net result is that any subsequent configuration of
> authservers and acctservers in this function will be lost as soon as the
> function is exited. Likewise the mallocs can never be freed up. Have I
> understood this correctly? Not sure how fixes get put back into the code for
> the next release. If someone can let me know if there is a formal procedure,
> that would be great.
Create a patch, and send it to the list.
Alan DeKok.
More information about the Freeradius-Devel
mailing list