summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhj kim <backto.kim@samsung.com>2018-02-09 09:30:38 +0900
committerhj kim <backto.kim@samsung.com>2018-02-09 09:30:58 +0900
commitf1b191ee036a42a589bc415aa54b5cd3cd981e0b (patch)
treeb76a6a367667a010e99f5049473d3872fd0fa05c
parentdc55f117bee48120f60b821944656d49bece3f0d (diff)
parent9c2733535f7757020ec5b8414f4ced00106a866d (diff)
downloadlibmedia-thumbnail-f1b191ee036a42a589bc415aa54b5cd3cd981e0b.tar.gz
libmedia-thumbnail-f1b191ee036a42a589bc415aa54b5cd3cd981e0b.tar.bz2
libmedia-thumbnail-f1b191ee036a42a589bc415aa54b5cd3cd981e0b.zip
Merge branch 'tizen_4.0' into tizen_4.0_tv
Change-Id: I50eda8ccaea6217ea220e5bca863f0a32c40e948
-rwxr-xr-xsrc/ipc/media-thumb-ipc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ipc/media-thumb-ipc.c b/src/ipc/media-thumb-ipc.c
index 68cddff..93c87c5 100755
--- a/src/ipc/media-thumb-ipc.c
+++ b/src/ipc/media-thumb-ipc.c
@@ -390,16 +390,8 @@ int _media_thumb_request(int msg_type, const char *origin_path, char *thumb_path
req_msg.msg_type = msg_type;
req_msg.uid = uid;
SAFE_STRLCPY(req_msg.org_path, origin_path, sizeof(req_msg.org_path));
- req_msg.origin_path_size = strlen(req_msg.org_path) + 1;
- req_msg.dest_path_size = strlen(req_msg.dst_path) + 1;
req_msg.thumb_size = 0;
- if (req_msg.origin_path_size > MAX_PATH_SIZE || req_msg.dest_path_size > MAX_PATH_SIZE) {
- thumb_err("path's length exceeds %d", MAX_PATH_SIZE);
- close(sock);
- return MS_MEDIA_ERR_INVALID_PARAMETER;
- }
-
unsigned char *buf = NULL;
int buf_size = 0;
int header_size = 0;