Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ab46a3c
)
nat: fix coverity 249194
53/37053/2
author
Andrew Yourtchenko
<
[email protected]
>
Wed, 31 Aug 2022 14:11:59 +0000
(14:11 +0000)
committer
Matthew Smith
<
[email protected]
>
Wed, 31 Aug 2022 16:01:08 +0000
(16:01 +0000)
Zero-initialize a variable.
Type: fix
Signed-off-by: Andrew Yourtchenko <
[email protected]
>
Change-Id: Iccf2eb4bf26755d6cd93fc70df3c5481d69ce7eb
src/plugins/nat/nat44-ed/nat44_ed_in2out.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat44-ed/nat44_ed_in2out.c
b/src/plugins/nat/nat44-ed/nat44_ed_in2out.c
index
4eced06
..
b0e0784
100644
(file)
--- 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;