Rlm_sqlippool + mssql bug

Gabriel gabriel at teksavvy.com
Tue Oct 2 17:41:21 CEST 2007


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?

-Gabriel





More information about the Freeradius-Devel mailing list