From befc912c4eacfde9a7ba5af7635d14fbe99b47c4 Mon Sep 17 00:00:00 2001 From: Randeep Singh Date: Thu, 27 Feb 2020 13:03:56 +0530 Subject: Resolved coverity issues Change-Id: I88928316da500945253a7556756a3a441034f891 Signed-off-by: Randeep Singh --- proxy/MsgHandleTransport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/MsgHandleTransport.cpp b/proxy/MsgHandleTransport.cpp index 71cb5ce..bb8bf8c 100755 --- a/proxy/MsgHandleTransport.cpp +++ b/proxy/MsgHandleTransport.cpp @@ -170,7 +170,7 @@ msg_error_t MsgHandle::submitReq(MSG_REQUEST_S* pReq) int ret[3] = {0, }; - memcpy(&ret, (void*)pEvent->data, sizeof(ret)); + memcpy(&ret, (void*)pEvent->data, sizeof(pEvent->data)); pReq->reqId = ret[0]; reqmsg->msgId = (msg_message_id_t)ret[1]; -- cgit v1.2.3