From fa3016309b33395c02cf10e7e198517c5b81e55a Mon Sep 17 00:00:00 2001 From: paco Date: Wed, 20 Jun 2018 19:11:18 +0200 Subject: bgpd, lib: null check (Coverity 1436344, 1451361) Signed-off-by: F. Aragon --- lib/command_match.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/command_match.c') diff --git a/lib/command_match.c b/lib/command_match.c index 99ec03e0c2..4893ead042 100644 --- a/lib/command_match.c +++ b/lib/command_match.c @@ -609,6 +609,7 @@ static struct list *disambiguate(struct list *first, struct list *second, vector vline, unsigned int n) { // doesn't make sense for these to be inequal length + assert(first && second); assert(first->count == second->count); assert(first->count == vector_active(vline) - n + 1); -- cgit v1.2.3