2 Oct
2007
2 Oct
'07
11:41 a.m.
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