ASAN issue fix 59/252659/1 submit/tizen/20210202.074204
authorAbhimanyu Swami <abhimanyu1.s@samsung.com>
Mon, 1 Feb 2021 07:02:01 +0000 (12:32 +0530)
committerAbhimanyu Swami <abhimanyu1.s@samsung.com>
Mon, 1 Feb 2021 07:02:01 +0000 (12:32 +0530)
Change-Id: I420122d8642484001c86c50307ffdcdc1ca4fecc
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
plugin/sms_plugin/3gpp/Sms3gppTransport.cpp

index 008a157..3a43cfc 100755 (executable)
@@ -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!");
        }