From: kamaljeet chauhan Date: Mon, 2 Mar 2020 12:52:42 +0000 (+0530) Subject: Svace issues resolved X-Git-Tag: submit/tizen/20200302.130929^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7edad1d52ca646f3f9c92f741f65d70342e4501;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git Svace issues resolved Change-Id: I6080fe04e465c62ae0fd96dfceb443a62470db84 Signed-off-by: kamaljeet chauhan --- diff --git a/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp b/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp index ecec003..f8a3e13 100755 --- a/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp +++ b/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp @@ -3140,7 +3140,7 @@ void Sms3gpp2WapPushHandler::wspHeaderDecodeDateValue(unsigned long length, unsi lTime = wspHeaderDecodeIntegerByLength(data, length); - pTMData = (struct tm*)gmtime((const time_t*)&lTime); + (struct tm*)gmtime_r((const time_t*)&lTime, pTMData); if (pTMData == NULL) { MSG_DEBUG("WspLHeaderDecodeDateValue: Date decode fail \n");