Merge from master.
[framework/messaging/msg-service.git] / plugin / mms_plugin / MmsPluginCodecCommon.cpp
index 66817e7..3310f9a 100755 (executable)
@@ -1128,7 +1128,7 @@ static char gszDebugStringBuf[50];
 
 static char *MmsDebugPrintUnknownValue(int value)
 {
-       printf(gszDebugStringBuf, "unknown value(%d)", value);
+       snprintf(gszDebugStringBuf, sizeof(gszDebugStringBuf), "unknown value(%d)", value);
        return gszDebugStringBuf;
 }