From 68c74fc71bc19b44b39601e5ab3d79d35cd5007b Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Thu, 4 May 2017 14:52:42 +0200 Subject: Fix coverity issue Change-Id: I8110b2a1d7bf8a818c7e9b6f95c3f60324e8ccab Signed-off-by: Filip Tehlar --- src/vnet/lisp-cp/control.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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++) { -- cgit 1.2.3-korg