On Wed, 10 Sep 2003, Alan DeKok wrote:
> Peter Stamfest <[EMAIL PROTECTED]> wrote:
> > The problem surfaces through the return of NULL at line 601 in
> > pairparsevalue in src/lib/valuepair.c which makes pairmake return NULL in
> > the case of an integer that does not start with a digit ("" does not start
> > with a digit).
>
> Ah. Fixed, thanks.
It could very well be the case that similar problems exist in other
places where an integer attribute has to be initialized (I did not
check). It might be worth it to make this situation (integer attribute,
empty string) a special case for pairmake, because such a bug could easily
be introduced by somebody not aware of this special case.
peter
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html