client: increase limit of command message length
authorSooyoung Ha <yoosah.ha@samsung.com>
Thu, 6 Jul 2017 09:08:17 +0000 (18:08 +0900)
committer황석연/L4/프로/개발플랫폼팀/에스코어 <syeon-hwang@users.noreply.github.sec.samsung.net>
Thu, 6 Jul 2017 11:12:44 +0000 (20:12 +0900)
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
src/sdb_client.c

index f5fca3430e5464bbf2cf15e2e53d3e3f5d24722f..2dc68f74bcda5e5683d9f2ede4d7254eb49bd5d8 100644 (file)
@@ -66,7 +66,7 @@ int send_service_with_length(int fd, const char* service, int host_fd) {
         }
         return -1;
     }
-    else if (len > 1024) {
+    else if (len > 2048) {
         if(host_fd == 0) {
             print_error(SDB_MESSAGE_ERROR, ERR_GENERAL_TOO_LONG_SERVICE_NAME, NULL);
         }