FreeRADIUS + Postgresql dies unexpectedly

Duarte Fonseca fonseca.duarte at gmail.com
Mon Nov 16 17:04:14 CET 2009


Hi,


>>  I'd suggest changing sql_query() function in sql_postgresql.c to:
>>
>>        ...
>>        if (!errormsg) return -1;
>>        ...
>>
>>  instead of the current block of code { errormsg = "FATAL ERROR" }
>>

Well I tried this change, you can see the gdb output at:

http://dl.dropbox.com/u/797051/radiusd/gdb-radiusd-3.log

Hope it helps.


> As Duarte is so able to reproduce this bug I guess this is over to him?
>

As for reproducing this, it's pretty straightforward if I follow the
steps I outlined in my first e-mail, as anyone else reproduced this
successfully?

cheers,

Duarte




More information about the Freeradius-Users mailing list