summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhimanyu Swami <abhimanyu1.s@samsung.com>2020-09-10 18:21:48 +0530
committerAbhimanyu Swami <abhimanyu1.s@samsung.com>2020-09-15 14:10:04 +0530
commit7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51 (patch)
tree704f9e347358a8da13e0c47fee7e203588c0cfbf
parent5676fe7049e6ef7d831a19b0dfb1ac1265c8a39a (diff)
downloadmsg-service-7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51.tar.gz
msg-service-7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51.tar.bz2
msg-service-7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51.zip
Change-Id: Ia5c65c30b3aaf9be0c512eec48ff74a78eee0570 Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
-rwxr-xr-xplugin/mms_plugin/MmsPluginInternal.cpp3
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);