bug in authprogs/radius
Bill Davidsen
davidsen at tmr.com
Sun Apr 15 00:48:47 UTC 2007
Jeffrey M. Vinocur wrote:
> On Fri, 13 Apr 2007, Erik Klavon wrote:
>
>
>> The radius authentication program in inn-2.4.3 works fine for me on
>> FreeBSD with a single radius server in the configuration file. When I
>> add a second radius server, the program segfaults. I tracked down the
>> source of the problem to a lack of initialization after a malloc.
>>
>
> Thanks!
>
> (I used xcalloc instead of xmalloc rather than explicitly zero, but same
> thing in the end.)
>
>
>
That was going to be my comment, why not just allocate and clear using
the provided routing? As you say, the end effect is the same as long as
no one puts something between xmalloc and memset...
--
bill davidsen <davidsen at tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
More information about the inn-bugs
mailing list