17 Feb
2010
17 Feb
'10
8:58 a.m.
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.