diff options
| author | paco <paco@voltanet.io> | 2018-06-20 19:11:18 +0200 |
|---|---|---|
| committer | paco <paco@voltanet.io> | 2018-06-20 19:14:01 +0200 |
| commit | fa3016309b33395c02cf10e7e198517c5b81e55a (patch) | |
| tree | 0de837fc4e142d8b479766f79212d50688bdd3c3 /lib/command_match.c | |
| parent | 76cd18c9ddfbdb8f36b60fac61ebb4d64d12d079 (diff) | |
bgpd, lib: null check (Coverity 1436344, 1451361)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'lib/command_match.c')
| -rw-r--r-- | lib/command_match.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
