Segmentation Fault after querying radgroupcheck in FR 3.0.7

Arran Cudbard-Bell a.cudbardb at
Tue Mar 31 16:02:40 CEST 2015

> If the attributes from radgroupcheck do not match paircompare() returns a value not 0 and then entry->next is not defined, but we still jump into the next iteration and possibly pairstrcpy() segfaults.
> rad_assert does not seem to do anything, because NDEBUG was set during compilation.
> Is this a bug or are we doing anything wrong?

Alan pushed a fix.


Arran Cudbard-Bell <a.cudbardb at>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the Freeradius-Users mailing list