Segmentation Fault after querying radgroupcheck in FR 3.0.7

Arran Cudbard-Bell a.cudbardb at freeradius.org
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.

https://github.com/FreeRADIUS/freeradius-server/commit/08688632abef67e1e8b4b5ff13d52437ef319702

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
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: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150331/d138d7ce/attachment.sig>


More information about the Freeradius-Users mailing list