Rlm_sqlippool + mssql bug
Alan DeKok
aland at deployingradius.com
Tue Oct 2 18:48:13 CEST 2007
Gabriel wrote:
> I am currently working on the rlm_sqlippool module to work with ms sql. I
> believe I discovered a bug in the sqlippool_query1 function and was able to
> fix it.
>
> Somehow the function uses the return of rlm_sql_fetch_row as a strlen of the
> result. It then uses this return "r" to do a strncpy to the return string
> value of this rlm_sqlippool. The problem is, it seems that rlm_sql_fetch_row
> returns 0 in the case of ms sql and then the strncpy fails.
>
> How do I go about submitting a patch about this problem?
bugs.freeradius.org.
However, 2.0 is very nearly ready. The problem code has been
re-written, and the problem doesn't occur there.
Alan DeKok.
More information about the Freeradius-Devel
mailing list