Segmentation fault in 1.1.0-pre0

Alan DeKok aland at ox.org
Mon Dec 19 17:53:34 CET 2005


Norbert Wegener <nw at sbs.de> wrote:
> freeradius-1.1.0-pre0 crashes, when sending an Sending Access-Accept:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x4027ae77 in memset () from /lib/i686/libc.so.6
> (gdb) bt
> #0  0x4027ae77 in memset () from /lib/i686/libc.so.6
> #1  0x00000020 in ?? ()
> #2  0x401f83eb in rad_vp2attr (packet=0x0, original=0x0, secret=0x0, 
> vp=0x0, ptr=0x0) at radius.c:256

  I can't *believe* it's the same dumb bug you reported before, but in
different code.  The "passwd" array should be (AUTH_STRING_LEN + 3)
bytes long.

  I'll commit a fix to CVS in a bit.  Dang, we really need a test suite.

  Alan DeKok.




More information about the Freeradius-Users mailing list