diff options
author | Randeep Singh <randeep.s@samsung.com> | 2019-09-12 11:45:04 +0530 |
---|---|---|
committer | Randeep Singh <randeep.s@samsung.com> | 2019-09-12 11:45:04 +0530 |
commit | 878d0d922733df7207fe24ad01e1e34bfad4bfee (patch) | |
tree | 1067488b74359dfca30dace8dcc9b6475dafafba | |
parent | 878162edea9ceeec2654a74cc0d2b3af012bd78c (diff) | |
download | msg-service-878d0d922733df7207fe24ad01e1e34bfad4bfee.tar.gz msg-service-878d0d922733df7207fe24ad01e1e34bfad4bfee.tar.bz2 msg-service-878d0d922733df7207fe24ad01e1e34bfad4bfee.zip |
Handled SVACE issue
Change-Id: I3e1abf687adc0682926fdd412d84d4b756ca27fd
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
-rwxr-xr-x | proxy/MsgHandleSetting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/MsgHandleSetting.cpp b/proxy/MsgHandleSetting.cpp index 31dcc08..b42052d 100755 --- a/proxy/MsgHandleSetting.cpp +++ b/proxy/MsgHandleSetting.cpp @@ -218,7 +218,7 @@ msg_error_t MsgHandle::getCBOption(msg_struct_t msg_struct) if (pEvent->result == MSG_SUCCESS) { int i = 0; MSG_CBMSG_OPT_S cb_opt_tmp = {0, }; - memcpy(&cb_opt_tmp, pEvent->data, sizeof(MSG_CBMSG_OPT_S)); + memcpy(&cb_opt_tmp, pEvent->data, sizeof(pEvent->data)); MSG_CBMSG_OPT_HIDDEN_S *pTmp = (MSG_CBMSG_OPT_HIDDEN_S *)cb_opt->data; pTmp->bReceive = cb_opt_tmp.bReceive; |