19 Dec
2005
19 Dec
'05
11:53 a.m.
Norbert Wegener <nw@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.