RES: Patch: avpair.c - empty reply VALUE_PAIR (0x0) for replies withunknown vendor attributes

Adam Lewis VNQM87 at motorola.com
Thu Jul 8 16:03:23 CEST 2010


Just a warning to anyone using the client on an embedded platform. The local
variable "buffer" in the function rc_avpair_gen() uses 507 bytes, so if the
function has many attributes to process, 507 bytes will be added to the
stack every time the function recurses. Perhaps another reason why this
function should be re-written.

Regards,
Adam.



Alan DeKok-2 wrote:
> 
> Toledo, Luis Carlos wrote:
>> How to debug the unknown attributes? Put some prints in the code or have
>> clear way to do this? 
> 
>   The code should print out which attributes it receives.  If it
> doesn't, supply a patch to fix it.
> 
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/devel.html
> 
> 

-- 
View this message in context: http://old.nabble.com/Patch%3A-avpair.c---empty-reply-VALUE_PAIR-%280x0%29-for-replies-with--unknown-vendor-attributes-tp28313256p29107373.html
Sent from the FreeRadius - Dev mailing list archive at Nabble.com.




More information about the Freeradius-Devel mailing list