Applied secure log for privacy protect
[platform/framework/native/image-core.git] / src / FMedia_ImageDecoder.cpp
index fd976e4..f2118cb 100644 (file)
@@ -79,7 +79,7 @@ _ImageDecoder::DecodeToBufferN(const Tizen::Base::String& filePath,
 
        SysTryReturn(NID_MEDIA, filePath.GetLength() > 0 && filePath.GetLength() <= PATH_MAX, null, E_INVALID_ARG,
                                "[E_INVALID_ARG] Given filePath length is zero or exceeds system limitations Length = %d.",filePath.GetLength());
-       SysTryReturn(NID_MEDIA, File::IsFileExist(filePath), null, E_FILE_NOT_FOUND,
+       SysSecureTryReturn(NID_MEDIA, File::IsFileExist(filePath), null, E_FILE_NOT_FOUND,
                                "[E_FILE_NOT_FOUND] filePath:%ls", filePath.GetPointer());
 
        r = dec.Construct(filePath, pixelFormat, IMG_FORMAT_NONE, autoRotate);