[quagga-dev 10481] [PATCH] isisd: stability fix 3 - crush when after configure passive interface

Bin Zhou binzhou at ruggedcom.com
Fri Apr 26 17:33:59 BST 2013


isisd: fix segmentation fault after enable passive interface

Two segmentation faults are seen in two scenarios related to passive 
interface configuration:
1. configure "isis passive" on a loopback interface;
     Program received signal SIGSEGV, Segmentation fault.
     0xb774801a in isis_adj_build_up_list (adjdb=0x0, list=0xb8327e38) 
at isis_adjacency.c:521
2. Change isis circuit type on a passive interface
     #0  0xb7543577 in raise () from /lib/libc.so.6
     #1  0xb7546962 in abort () from /lib/libc.so.6
     #2  0xb76d108a in _zlog_assert_failed (assertion=0xb76e00b3 "list", 
file=0xb76e0095   "linklist.c", line=228, function=0xb76e010a 
"list_delete") at log.c:618
     #3  0xb76ad821 in list_delete (list=0x0) at linklist.c:228
     #4  0xb775f90b in circuit_resign_level (circuit=0xb939bc20, 
level=2) at isis_events.c:249

* isisd/isis_events.c: change the circuit type on passive interface and return.
* isisd/isis_spf.c: Do not build tlv for passive interface in lsp_build()


-- 

Bin Zhou, Ph.D.
Software Engineer
RuggedCom Inc, A Siemens Company

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: isis_passive_if_patch
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20130426/f3666e32/attachment-0001.ksh>


More information about the Quagga-dev mailing list