]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: Fix passage of uninitialized value to skiplist_next
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 7 Feb 2017 19:48:45 +0000 (14:48 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 7 Feb 2017 19:48:45 +0000 (14:48 -0500)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/rfapi/rfapi_ap.c

index 5cc1dd78157c658e2b9a5ee6633c357646166803..68292c26b1cc7601ac8f78c81392adbb5f3ed389 100644 (file)
@@ -169,7 +169,7 @@ void
 rfapiApReadvertiseAll (struct bgp *bgp, struct rfapi_descriptor *rfd)
 {
   struct rfapi_adb *adb;
-  void *cursor;
+  void *cursor = NULL;
   int rc;
 
   for (rc =