commit | eeb31ec7238b24d5b152731890b91777a1efc98b | [log] [tgz] |
---|---|---|
author | Filip Tehlar <ftehlar@cisco.com> | Thu Mar 17 17:25:47 2022 +0000 |
committer | Florin Coras <florin.coras@gmail.com> | Thu Mar 17 23:08:22 2022 +0000 |
tree | 160782e8a09ba5fe0457cc65403bb2746fd48d05 | |
parent | 5c45d1cf1b46c1ec83d50d032d6e7cad5fa3fefd [diff] [blame] |
vcl: fix invalid socket read Type: fix Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Ic8cc12788d9062f30faa992afaecc0c64078c4d7
diff --git a/src/vcl/vcl_sapi.c b/src/vcl/vcl_sapi.c index 870a634..5f4263b 100644 --- a/src/vcl/vcl_sapi.c +++ b/src/vcl/vcl_sapi.c
@@ -438,7 +438,7 @@ 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);