diff -pru asterisk-11.2.1.o/main/asterisk.c asterisk-11.2.1/main/asterisk.c --- asterisk-11.2.1.o/main/asterisk.c 2013-01-22 20:57:06.000000000 +0200 +++ asterisk-11.2.1/main/asterisk.c 2013-02-18 14:30:53.573701085 +0200 @@ -1301,7 +1301,7 @@ static void *netconsole(void *vconsole) { struct console *con = vconsole; char hostname[MAXHOSTNAMELEN] = ""; - char inbuf[512]; + char inbuf[2048]; char outbuf[512]; const char * const end_buf = inbuf + sizeof(inbuf); char *start_read = inbuf; @@ -2361,7 +2361,7 @@ static int ast_el_read_char(EditLine *ed struct pollfd fds[2]; int res; int max; -#define EL_BUF_SIZE 512 +#define EL_BUF_SIZE 2048 char buf[EL_BUF_SIZE]; struct el_read_char_state_struct *state = ast_threadstorage_get(&el_read_char_state, sizeof(*state)); @@ -2973,7 +2973,7 @@ static void ast_remotecontrol(char *data 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) { Only in asterisk-11.2.1/main: asterisk.c.orig Only in asterisk-11.2.1/main: asterisk.c.rej diff -pru asterisk-11.2.1.o/main/cli.c asterisk-11.2.1/main/cli.c --- asterisk-11.2.1.o/main/cli.c 2012-12-03 21:16:20.000000000 +0200 +++ asterisk-11.2.1/main/cli.c 2013-02-18 13:41:34.674159100 +0200 @@ -2573,7 +2573,7 @@ done: 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++) { Only in asterisk-11.2.1/main: cli.c.orig