This code didn't survive valgrinding. I wonder how it survived normal run.

This commit is contained in:
hasso 2004-09-27 18:13:57 +00:00
parent 6a99f83175
commit e082ac1dc6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-09-27 Hasso Tepper <hasso at quagga.net>
* isis_pdu.c: Fix accessing NULL found by valgrind.
2004-09-26 Hasso Tepper <hasso at quagga.net>
* isis_circuit.c: Fix previous commit. Don't schedule LSP regeneration

View File

@ -141,6 +141,9 @@ ip_match (struct list *left, struct list *right)
struct in_addr *ip2;
struct listnode *node1, *node2;
if ((left == NULL) || (right == NULL))
return 0;
LIST_LOOP (left, ip1, node1)
{
LIST_LOOP (right, ip2, node2)