diff options
author | hasso <hasso> | 2004-09-27 18:13:57 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-09-27 18:13:57 +0000 |
commit | e082ac1dc672b39b219d233775e6467634177f62 (patch) | |
tree | e5c5b686371454fa13ae2b81cdb72006ef84e8ba /isisd/isis_pdu.c | |
parent | 6a99f83175d7b5b5868fb82328d569672b8bb9a4 (diff) | |
download | quagga-e082ac1dc672b39b219d233775e6467634177f62.tar.bz2 quagga-e082ac1dc672b39b219d233775e6467634177f62.tar.xz |
This code didn't survive valgrinding. I wonder how it survived normal run.
Diffstat (limited to 'isisd/isis_pdu.c')
-rw-r--r-- | isisd/isis_pdu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index 436240ef..3e5154c6 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -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) |