From b7edad1d52ca646f3f9c92f741f65d70342e4501 Mon Sep 17 00:00:00 2001 From: kamaljeet chauhan Date: Mon, 2 Mar 2020 18:22:42 +0530 Subject: [PATCH] Svace issues resolved Change-Id: I6080fe04e465c62ae0fd96dfceb443a62470db84 Signed-off-by: kamaljeet chauhan --- plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.34.1