From: Abhimanyu Swami Date: Mon, 1 Feb 2021 07:02:01 +0000 (+0530) Subject: ASAN issue fix X-Git-Tag: submit/tizen/20210202.074204^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13fa9892c87b68c6a696ab28615aacd6edfe72f9;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git ASAN issue fix Change-Id: I420122d8642484001c86c50307ffdcdc1ca4fecc Signed-off-by: Abhimanyu Swami --- diff --git a/plugin/sms_plugin/3gpp/Sms3gppTransport.cpp b/plugin/sms_plugin/3gpp/Sms3gppTransport.cpp index 008a157..3a43cfc 100755 --- a/plugin/sms_plugin/3gpp/Sms3gppTransport.cpp +++ b/plugin/sms_plugin/3gpp/Sms3gppTransport.cpp @@ -126,7 +126,7 @@ msg_error_t Sms3gppSubmitRequest(MSG_REQUEST_INFO_S *pReqInfo) char keyName[MAX_VCONFKEY_NAME_LEN] = {0,}; snprintf(keyName, sizeof(keyName), "%s/%d", MSG_SIM_CHANGED, pReqInfo->msgInfo.sim_idx); - MSG_SIM_STATUS_T simStatus = 0; + int simStatus = 0; if (MsgSettingGetInt(keyName, (int*)&simStatus) != MSG_SUCCESS) { MSG_INFO("MsgSettingGetInt() failed!"); }