[FIX] app segfault if OPT_NETWORK_ALWAYS enabled
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Fri, 22 Nov 2013 13:20:12 +0000 (17:20 +0400)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Fri, 22 Nov 2013 13:20:12 +0000 (17:20 +0400)
increase local buffer size

Change-Id: I0ee23cbcf72a37b1cb9cb0f0385fef47efb99a9f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
include/binproto.h

index 4e736c5..59ebce7 100644 (file)
@@ -368,7 +368,7 @@ static char __attribute__((used)) *pack_ret(char *to, char ret_type, ...)
                BUF_PTR = pack_int32(BUF_PTR, api_type);             \
        } while (0)
 
-#define LOCAL_BUF_SIZE 1024
+#define LOCAL_BUF_SIZE 2048
 
 #define PREPARE_LOCAL_BUF()                    \
                char msg_buf[LOCAL_BUF_SIZE];\