Coverity: Fix CID-198494 & CID-198388
Change-Id: I5fa4a3fa512b732fc444e908729582a109db538c
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
diff --git a/src/vnet/session-apps/echo_client.c b/src/vnet/session-apps/echo_client.c
index edc6a2a..bde9f48 100644
--- a/src/vnet/session-apps/echo_client.c
+++ b/src/vnet/session-apps/echo_client.c
@@ -381,7 +381,7 @@
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));