Redundant SQL servers accounting problem, FreeRadius 1.1.4
Alan DeKok
aland at deployingradius.com
Mon Mar 19 17:54:52 CET 2007
Alexander V. Klepikov wrote:
>
> Well, I think I found why FreeRadius crashes. Unconnected SQL socket is
> passed to sql_close function in module rlm_sql in function rlm_sql_query
> (src/modules/rlm_sql/sql.c line 499). Here is the patch:
Hmm... it looks like similar patches were added in revision 1.72 of
that file. I've double-checked the code, and found one more location.
Please try the attached patch.
> My tests shows that problem is gone. I hope I patched right piece of code :)
If it works...
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sql.patch
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070319/eda7c57d/attachment.ksh>
More information about the Freeradius-Users
mailing list