aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-05-04 14:52:42 +0200
committerFilip Tehlar <ftehlar@cisco.com>2017-05-04 14:52:42 +0200
commit68c74fc71bc19b44b39601e5ab3d79d35cd5007b (patch)
treee4020d7d3b244a4bf4e74a24ddf353613b217299 /src/vnet/lisp-cp
parentcf121c8313187819245e45f11fb49ba1e1ea53ef (diff)
Fix coverity issue
Change-Id: I8110b2a1d7bf8a818c7e9b6f95c3f60324e8ccab Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp')
-rw-r--r--src/vnet/lisp-cp/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c
index ddaa6f508dc..439802c947c 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -3245,6 +3245,8 @@ parse_map_records (vlib_buffer_t * b, map_records_arg_t * a, u8 count)
mapping_t m;
locator_t *loc;
+ memset (&m, 0, sizeof (m));
+
/* parse record eid */
for (i = 0; i < count; i++)
{