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:
dcf512a
)
wireguard: coverity fix
42/29042/2
author
Artem Glazychev
<artem.glazychev@xored.com>
Wed, 23 Sep 2020 13:47:48 +0000
(20:47 +0700)
committer
Damjan Marion
<dmarion@me.com>
Thu, 24 Sep 2020 11:19:10 +0000
(11:19 +0000)
Type: fix
Change-Id: Ib69b9d83a77d315368ce091085b6bc2d26994282
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
src/plugins/wireguard/wireguard_handoff.c
patch
|
blob
|
history
diff --git
a/src/plugins/wireguard/wireguard_handoff.c
b/src/plugins/wireguard/wireguard_handoff.c
index
b0b7422
..
8a2efa5
100644
(file)
--- a/
src/plugins/wireguard/wireguard_handoff.c
+++ b/
src/plugins/wireguard/wireguard_handoff.c
@@
-79,7
+79,7
@@
wg_handoff (vlib_main_t * vm,
while (n_left_from > 0)
{
const wg_peer_t *peer;
while (n_left_from > 0)
{
const wg_peer_t *peer;
- index_t peeri;
+ index_t peeri
= INDEX_INVALID
;
if (PREDICT_FALSE (mode == WG_HANDOFF_HANDSHAKE))
{
if (PREDICT_FALSE (mode == WG_HANDOFF_HANDSHAKE))
{