diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2021-05-18 13:26:50 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2021-05-18 13:50:06 +0900 |
commit | 3ab54f0c8dca0242bdfc0264ca9ee2af6b35631d (patch) | |
tree | d36507d73b4546f6d15d626ce1b46d02354d7024 | |
parent | ed88ae5e86ceff6f801c3e33e201b0cf343de6b2 (diff) | |
download | libmedia-thumbnail-tizen_6.5.tar.gz libmedia-thumbnail-tizen_6.5.tar.bz2 libmedia-thumbnail-tizen_6.5.zip |
Add to check the input lengthtizen_6.5.m2_releasesubmit/tizen_6.5/20211028.162401submit/tizen/20210531.012219accepted/tizen/unified/20210602.122618accepted/tizen/6.5/unified/20211028.122040tizen_6.5accepted/tizen_6.5_unified
Change-Id: I5c1069f86a2f352e67191defaa2fb9e6504629a8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rwxr-xr-x | src/media-thumbnail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c index d51a280..e241509 100755 --- a/src/media-thumbnail.c +++ b/src/media-thumbnail.c @@ -372,7 +372,7 @@ static int __check_thumb_path_validity(const char *path) char *dir_name = NULL; int ret = MS_MEDIA_ERR_NONE; - thumb_retvm_if(!path, MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path"); + thumb_retvm_if(!STRING_VALID(path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path"); dir_name = g_path_get_dirname(path); |