Patch: avpair.c - empty reply VALUE_PAIR (0x0) for replies with unknown vendor attributes
Stefan Karss
stefan.karss at googlemail.com
Wed Apr 21 10:20:38 CEST 2010
Hello again,
when the RADIUS servers sends a reply packet with an attribute for an
unknown vendor freeradius-client just skips over this when filling response
VALUE_PAIR list. Unfortunately it doesn't for unknown attributes from known
vendors - in that case rc_avpair_gen returns NULL in the first recursion
which results in a NULL pointer for reply VALUE_PAIR.
The attached patch just skips over unknown attributes for known vendors just
like the lib skips over attributes from unknown vendors.
Rgds,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20100421/140f91a5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avpair.c.patch
Type: application/octet-stream
Size: 1000 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20100421/140f91a5/attachment.obj>
More information about the Freeradius-Devel
mailing list