diff options
author | Abhimanyu Swami <abhimanyu1.s@samsung.com> | 2020-09-10 18:21:48 +0530 |
---|---|---|
committer | Abhimanyu Swami <abhimanyu1.s@samsung.com> | 2020-09-15 14:10:04 +0530 |
commit | 7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51 (patch) | |
tree | 704f9e347358a8da13e0c47fee7e203588c0cfbf | |
parent | 5676fe7049e6ef7d831a19b0dfb1ac1265c8a39a (diff) | |
download | msg-service-7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51.tar.gz msg-service-7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51.tar.bz2 msg-service-7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51.zip |
Coverity issue fixsubmit/tizen/20200922.073834submit/tizen/20200918.044755submit/tizen/20200917.081550
Change-Id: Ia5c65c30b3aaf9be0c512eec48ff74a78eee0570
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
-rwxr-xr-x | plugin/mms_plugin/MmsPluginInternal.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/mms_plugin/MmsPluginInternal.cpp b/plugin/mms_plugin/MmsPluginInternal.cpp index 3a21279..febe5ae 100755 --- a/plugin/mms_plugin/MmsPluginInternal.cpp +++ b/plugin/mms_plugin/MmsPluginInternal.cpp @@ -751,7 +751,8 @@ void MmsPluginInternal::processRetrieveConf(MSG_MESSAGE_INFO_S *pMsgInfo, mmsTra char fullPath[MAX_FULL_PATH_SIZE+1] = {0, }; - filename = MsgGetFileName(pRetrievedFilePath); + if (pRetrievedFilePath != NULL) + filename = MsgGetFileName(pRetrievedFilePath); snprintf(fullPath, MAX_FULL_PATH_SIZE+1, "%s%s", MSG_IPC_DATA_PATH, filename); |