diff options
author | jiyong.min <jiyong.min@samsung.com> | 2019-10-10 09:24:21 +0900 |
---|---|---|
committer | jiyong.min <jiyong.min@samsung.com> | 2019-10-10 10:45:54 +0900 |
commit | cfe76145706a57197cbb24796b13276ed200a35b (patch) | |
tree | a88283e2a7ccc0065811a437257d2724f3816651 | |
parent | 280b4b5266fd0fa56d8e356f6117eb7a8d825f49 (diff) | |
download | libmedia-service-cfe76145706a57197cbb24796b13276ed200a35b.tar.gz libmedia-service-cfe76145706a57197cbb24796b13276ed200a35b.tar.bz2 libmedia-service-cfe76145706a57197cbb24796b13276ed200a35b.zip |
Change path information to secure logtizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185103submit/tizen_5.5/20191031.000003submit/tizen/20191010.061714submit/tizen/20191008.062147accepted/tizen/unified/20191014.062517accepted/tizen/unified/20191011.015340accepted/tizen/5.5/unified/mobile/hotfix/20201027.083637accepted/tizen/5.5/unified/20191031.023825tizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfix
Change-Id: I9a0691cdbcd3591338b2bff4f11f40f5f0457364
-rwxr-xr-x | src/common/media-svc-noti.c | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | src/common/media-svc-util.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/media-svc-noti.c b/src/common/media-svc-noti.c index 32e46c2..c6b97eb 100755 --- a/src/common/media-svc-noti.c +++ b/src/common/media-svc-noti.c @@ -33,7 +33,7 @@ static int __media_svc_publish_noti_by_item(media_svc_noti_item *noti_item) if (noti_item && noti_item->path) { ret = media_db_update_send_internal(noti_item->pid, noti_item->update_item, noti_item->update_type, noti_item->path, noti_item->media_uuid, noti_item->media_type, noti_item->mime_type); if (ret != MS_MEDIA_ERR_NONE) { - media_svc_error("media_db_update_send_internal failed : %d [%s]", ret, noti_item->path); + media_svc_sec_error("media_db_update_send_internal failed : %d [%s]", ret, noti_item->path); ret = MS_MEDIA_ERR_INTERNAL; } else { media_svc_debug("media_db_update_send_internal success"); diff --git a/src/common/media-svc-util.c b/src/common/media-svc-util.c index dc79f08..fc3f052 100755..100644 --- a/src/common/media-svc-util.c +++ b/src/common/media-svc-util.c @@ -577,7 +577,7 @@ static int __media_svc_save_image(unsigned char *image, unsigned int size, char { int ret = MS_MEDIA_ERR_NONE; - media_svc_debug("start save image, path [%s] image size [%d]", image_path, size); + media_svc_sec_debug("start save image, path [%s] image size [%d]", image_path, size); if (!image) { media_svc_error("invalid image.."); @@ -753,7 +753,7 @@ int _media_svc_get_file_time(const char *full_path) memset(&statbuf, 0, sizeof(struct stat)); fd = stat(full_path, &statbuf); if (fd == -1) { - media_svc_error("stat(%s) fails.", full_path); + media_svc_sec_error("stat(%s) fails.", full_path); return MS_MEDIA_ERR_INTERNAL; } |