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:
e404652
)
nat: fix coverity 249178
54/37054/2
author
Andrew Yourtchenko
<
[email protected]
>
Wed, 31 Aug 2022 14:16:10 +0000
(14:16 +0000)
committer
Matthew Smith
<
[email protected]
>
Wed, 31 Aug 2022 16:00:14 +0000
(16:00 +0000)
Zero-initialize the variable
Type: fix
Signed-off-by: Andrew Yourtchenko <
[email protected]
>
Change-Id: I4ee127ac3e2a3beffa11bbc96db1f3254b3f7c5d
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
179405e
..
4eced06
100644
(file)
--- a/
src/plugins/nat/nat44-ed/nat44_ed_in2out.c
+++ b/
src/plugins/nat/nat44-ed/nat44_ed_in2out.c
@@
-1346,7
+1346,7
@@
nat44_ed_in2out_slow_path_node_fn_inline (vlib_main_t *vm,
udp_header_t *udp0;
icmp46_header_t *icmp0;
snat_session_t *s0 = 0;
- clib_bihash_kv_16_8_t kv0, value0;
+ clib_bihash_kv_16_8_t kv0
= { 0 }
, value0;
int translation_error = NAT_ED_TRNSL_ERR_SUCCESS;
b0 = *b;