segv when specifying src_ipaddr in proxy.conf

Alan DeKok aland at deployingradius.com
Wed Sep 23 09:59:21 CEST 2009


Joe Maimon wrote:
> Apparently ipaddr works.
> 
> 20090910 git + patches

  Ok...

> realms.c
> 
>         { "src_ipaddr",  PW_TYPE_STRING_PTR,
>           0, &hs_srcipaddr,  NULL },
> 
> Is this correct?

  For... what?  That specifies the source IP.  "ipaddr" specifies the
destination IP.

> This is the bt
> 
> #0  0xb7cab8eb in strlen () from /lib/i686/cmov/libc.so.6
> #1  0xb7c78198 in vfprintf () from /lib/i686/cmov/libc.so.6
> #2  0xb7c982e4 in vsnprintf () from /lib/i686/cmov/libc.so.6
> #3  0xb7c7e602 in snprintf () from /lib/i686/cmov/libc.so.6
> #4  0x08056039 in listen_alloc (type_name=0x1 <Address 0x1 out of
> bounds>) at listen.c:666

  There's no variable "type_name" in listen.c.  Your local patches are
breaking the server.

  Alan DeKok.



More information about the Freeradius-Devel mailing list