diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-21 07:29:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-21 07:29:51 -0400 |
| commit | 50f08ff26a40f530148f210c1a55cfec4ec9d7d1 (patch) | |
| tree | 549a218ae6751c089d3859bf06974f3d2207fc3c /lib/command_match.c | |
| parent | 1cabfbf10ee6321364369453806d3ae570f54d65 (diff) | |
| parent | fa3016309b33395c02cf10e7e198517c5b81e55a (diff) | |
Merge pull request #2507 from pacovn/Coverity_1436344_1451361_Dereference_after_null_check
bgpd, lib: null check (Coverity 1436344, 1451361)
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); |
