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

Adam Lewis VNQM87 at
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.


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

View this message in context:
Sent from the FreeRadius - Dev mailing list archive at

More information about the Freeradius-Devel mailing list