Index: gnuplot-4.2.6/src/gplt_x11.c =================================================================== --- gnuplot-4.2.6.orig/src/gplt_x11.c 2010-03-04 10:45:10.000000000 +0100 +++ gnuplot-4.2.6/src/gplt_x11.c 2010-03-04 11:59:35.000000000 +0100 @@ -1189,7 +1189,7 @@ static int read_input() { const int rdbuf_size = 10 * Nbuf; - static char rdbuf[rdbuf_size+1]; + static char rdbuf[10*Nbuf+1]; static int total_chars; static int rdbuf_offset; static int buf_offset;