Missing User-Name attribute causing a segfault in attr_rewrite

Dennis Skinner dskinner at bluefrog.com
Mon May 1 19:49:00 CEST 2006

Alan DeKok wrote:
>   When I test it with the above packet, it works for me.  So I'm not
> sure what's going wrong.  If you can get a core file, doc/bugs should
> help.

Here is the backtrace:

(gdb) bt
#0  0x4207a703 in strlen () from /lib/tls/libc.so.6
#1  0x420477ed in vfprintf () from /lib/tls/libc.so.6
#2  0x4206a284 in vsnprintf () from /lib/tls/libc.so.6
#3  0x0805029d in vradlog (lvl=1108548116, fmt=0x400e2820 "No huntgroup
access: [%s] (%s)", ap=0xbfffcf08 "<") at log.c:132
#4  0x08050485 in radlog (lvl=2, msg=0x400e2820 "No huntgroup access:
[%s] (%s)") at log.c:217
#5  0x400e24f7 in preprocess_authorize (instance=0x0, request=0x8161638)
at rlm_preprocess.c:550
#6  0x0805304e in call_modsingle (component=1, sp=0x812a798,
request=0x8161638, default_result=6) at modcall.c:236
#7  0x080534e0 in modcall (component=1, c=0x812a798, request=0x8161638)
at modcall.c:564
#8  0x080530f2 in call_one (component=1, p=0x812a798, request=0x8161638,
priority=0xbfffd3f4, result=0xbfffd3f8) at modcall.c:269
#9  0x080531a0 in call_modgroup (component=1, g=0x3c, request=0x8161638,
default_result=6) at modcall.c:324
#10 0x08053551 in modcall (component=1, c=0x8129a00, request=0x8161638)
at modcall.c:549
#11 0x08052d34 in module_authorize (autz_type=0, request=0x3c) at
#12 0x0804ca42 in rad_authenticate (request=0x8161638) at auth.c:589
#13 0x08055fc5 in rad_respond (request=0x8161638, fun=0x804c960
<rad_authenticate>) at radiusd.c:1642
#14 0x08055ba9 in main (argc=135665208, argv=0x804c960) at radiusd.c:1427
#15 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6

Let me know if you need any other information.  Thanks!

Dennis Skinner
Systems Administrator
BlueFrog Internet

More information about the Freeradius-Users mailing list