diff -Bbur asterisk-1.8.10.0.o/main/asterisk.c asterisk-1.8.10.0/main/asterisk.c --- asterisk-1.8.10.0.o/main/asterisk.c 2012-01-15 22:07:13.000000000 +0200 +++ asterisk-1.8.10.0/main/asterisk.c 2012-04-09 12:36:00.000000000 +0200 @@ -1252,7 +1252,7 @@ { struct console *con = vconsole; char hostname[MAXHOSTNAMELEN] = ""; - char tmp[512]; + char tmp[2048]; int res; struct pollfd fds[2]; @@ -2197,7 +2197,7 @@ struct pollfd fds[2]; int res; int max; -#define EL_BUF_SIZE 512 +#define EL_BUF_SIZE 2048 char buf[EL_BUF_SIZE]; for (;;) { @@ -2785,7 +2785,7 @@ fds.events = POLLIN; fds.revents = 0; while (ast_poll(&fds, 1, 60000) > 0) { - char buffer[512] = "", *curline = buffer, *nextline; + char buffer[2048] = "", *curline = buffer, *nextline; int not_written = 1; if (sig_flags.need_quit || sig_flags.need_quit_handler) { diff -Bbur asterisk-1.8.10.0.o/main/cli.c asterisk-1.8.10.0/main/cli.c --- asterisk-1.8.10.0.o/main/cli.c 2011-11-11 19:56:51.000000000 +0200 +++ asterisk-1.8.10.0/main/cli.c 2012-04-09 12:36:21.000000000 +0200 @@ -2515,7 +2515,7 @@ int ast_cli_command_multiple_full(int uid, int gid, int fd, size_t size, const char *s) { - char cmd[512]; + char cmd[2048]; int x, y = 0, count = 0; for (x = 0; x < size; x++) {