Freeradius 3.0.10 sigsegv

Luca Palazzo luca.palazzo at unict.it
Mon Jan 18 08:37:16 CET 2016



Il 17/01/16 21:11, Alan DeKok ha scritto:
> On Jan 17, 2016, at 5:18 AM, Luca Palazzo <luca.palazzo at unict.it> wrote:
>>
>> Alan,
>> I finally isolated the problem.
>> If a user is not in any group, so sql-group is null, FR will crash in some time, not immediately.
>
>    Then it's some kind of emory corruption.  Which is much harder to track down.
>
>> I solved adding a UNION SELECT 'NOGROUP' As GroupName FROM usergroup' to groupcheck query.
>> Anyway, it would be better correcting it in the code, it may cause some other kind of problem.
>
>    If I can reproduce it, sure.  Otherwise, it's difficult to fix a bug which is sporadic, and unreproducible.
It's not so sporadic. It happens at most after some tenth of null result 
query. It could be fine if you succeed in solving it. Otherwise, we all 
know now the workaround.

Luca
>
>    Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list