summaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2022-03-17 17:25:47 +0000
committerFlorin Coras <florin.coras@gmail.com>2022-03-17 23:08:22 +0000
commiteeb31ec7238b24d5b152731890b91777a1efc98b (patch)
tree160782e8a09ba5fe0457cc65403bb2746fd48d05 /src/vcl
parent5c45d1cf1b46c1ec83d50d032d6e7cad5fa3fefd (diff)
vcl: fix invalid socket read
Type: fix Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Ic8cc12788d9062f30faa992afaecc0c64078c4d7
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vcl_sapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_sapi.c b/src/vcl/vcl_sapi.c
index 870a634db8c..5f4263b3b13 100644
--- a/src/vcl/vcl_sapi.c
+++ b/src/vcl/vcl_sapi.c
@@ -438,7 +438,7 @@ vcl_sapi_del_cert_key_pair (u32 ckpair_index)
mp->index = ckpair_index;
cs = &wrk->app_api_sock;
- err = clib_socket_sendmsg (cs, &msg, sizeof (msg), 0, 0);
+ err = clib_socket_sendmsg (cs, msg, sizeof (*msg), 0, 0);
if (err)
{
clib_error_report (err);