Remove uninitialised bytes
[platform/framework/native/channel-service.git] / src / FIo_ChannelCAppStub.cpp
index 524ac92..f10b044 100644 (file)
@@ -427,7 +427,7 @@ _ChannelCAppStub::HandleReceivedMessage(GIOChannel* source, GIOCondition conditi
                        }
                }
 
-               SysLog(NID_IO, "CAppChannel >> Channel Server: readBytes: %d, readBuf: %s", readBytes, pBuffer.get());
+               SysSecureLog(NID_IO, "CAppChannel >> Channel Server: readBytes: %d, readBuf: %s", readBytes, pBuffer.get());
 
                SysTryReturn(NID_IO, readBytes != 0, FALSE, E_SYSTEM, "[E_SYSTEM] Received data is empty.");
 
@@ -536,7 +536,7 @@ _ChannelCAppStub::SendResponse(int requestId, void* pGIOChannel, const ArrayList
                str.Append(item);
        }
 
-       SysLog(NID_IO, "data: %ls, length: %d", str.GetPointer(), str.GetLength());
+       SysSecureLog(NID_IO, "data: %ls, length: %d", str.GetPointer(), str.GetLength());
 
        // Add a RequestId
        str.Append(L"|||");