summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-05-13 19:23:24 -0400
committerNeale Ranns <nranns@cisco.com>2019-05-14 06:10:27 +0000
commitf6c7aec95f82feb0c64b3ddd8558f41c33923bac (patch)
tree5c2d4944a672ac77ab6e90ed2a33258b6ee33ca7 /src/vnet
parent161638f14b967c9b11dee130c596f008c9e857c3 (diff)
Coverity: Fix CID-198494 & CID-198388
Change-Id: I5fa4a3fa512b732fc444e908729582a109db538c Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/session-apps/echo_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session-apps/echo_client.c b/src/vnet/session-apps/echo_client.c
index edc6a2a3990..bde9f489a34 100644
--- a/src/vnet/session-apps/echo_client.c
+++ b/src/vnet/session-apps/echo_client.c
@@ -381,7 +381,7 @@ quic_echo_clients_qsession_connected_callback (u32 app_index, u32 api_context,
for (stream_n = 0; stream_n < ecm->quic_streams; stream_n++)
{
- clib_memset (a, 0, sizeof (a));
+ clib_memset (a, 0, sizeof (*a));
a->app_index = ecm->app_index;
a->api_context = -1 - api_context;
clib_memcpy (&a->sep_ext, &sep, sizeof (sep));