From: Andrew Yourtchenko Date: Wed, 31 Aug 2022 14:11:59 +0000 (+0000) Subject: nat: fix coverity 249194 X-Git-Tag: v23.02-rc0~44 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F37053%2F2;p=vpp.git nat: fix coverity 249194 Zero-initialize a variable. Type: fix Signed-off-by: Andrew Yourtchenko Change-Id: Iccf2eb4bf26755d6cd93fc70df3c5481d69ce7eb --- diff --git a/src/plugins/nat/nat44-ed/nat44_ed_in2out.c b/src/plugins/nat/nat44-ed/nat44_ed_in2out.c index 4eced06aa47..b0e0784373e 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_in2out.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_in2out.c @@ -1055,7 +1055,7 @@ nat44_ed_in2out_fast_path_node_fn_inline (vlib_main_t *vm, ip_protocol_t proto0; ip4_header_t *ip0; snat_session_t *s0 = 0; - clib_bihash_kv_16_8_t kv0, value0; + clib_bihash_kv_16_8_t kv0 = { 0 }, value0; nat_translation_error_e translation_error = NAT_ED_TRNSL_ERR_SUCCESS; nat_6t_flow_t *f = 0; nat_6t_t lookup;