Andrea Gabellini <[EMAIL PROTECTED]> wrote: > If I use a query string greater than 256 I got a Segmentation fault, but if > I use a query minor than 256 it works well.
That should be a simple bug to fix. > Debugging the code I notice that the problem is in the sqlcounter_authorize > when it call the radius_xlat funcion on line 512. Hmm.. it uses MAX_QUERY_LEN, which is 4096. Can you email a backtrace from gdb to the list (or the -devel list, probably). See 'doc/bugs' for more information. It sounds like *something* isn't checking buffer sizes, and there's no way of tellling without a back trace. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
