On Fri, 2002-12-06 at 02:37, Alan DeKok wrote: > Malcolm Caldwell <[EMAIL PROTECTED]> wrote: > > Fair enough - except I am trying to store an xlat there. The xlat > > string (fmt) is longer than 254 octets BUT the results of the xlat are > > not! > > > > I don't know what a quick fix is here. Perhaps the size of strvalue > > could be bigger - you just check that it is < 254 before you place it on > > the wire. > > The string contents should ideally be allocated as memory seperate > from the VALUE_PAIR data structure. That would allow it to grow as > needed. > > As always, patches are welcome.
This sounds like a bit of work. I would have to find * Every place a value is assigned to a VALUE_PAIR * Every place where a value pair is freed. This would be in many many places! > > Alan DeKok. > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html