This is how the stack looks like, when radvd_1.9.1-1.1_i386 crashes:

*******************


Program received signal SIGSEGV, Segmentation fault.
0x80004c4d in yyparse () at gram.y:641
641                             prefix->DeprecatePrefixFlag = $2;
(gdb) bt
#0  0x80004c4d in yyparse () at gram.y:641
#1  0x800079a1 in readin_config (fname=0x8000dc85 "/etc/radvd.conf") at 
radvd.c:813
#2  0x80007b7b in reload_config () at radvd.c:620
#3  0x8000b9fb in process_netlink_msg (sock=8) at netlink.c:70
#4  0x80007e6c in main_loop () at radvd.c:426
#5  0x80002305 in main (argc=5, argv=0xbffffd74) at radvd.c:346


(gdb) print prefix
$1 = (struct AdvPrefix *) 0x0


*******************

Last logged line by radvd: no auto-selected prefix on interface ethX, disabling 
advertisements.

By looking at gram.y, I think there are other flags affected by the issue (a 
missing check for prefix, if it's null), such as DecrementLifetimesFlag.

Reply via email to