pkg-autotools: move the libtool patching call out of the autoreconf hook
[buildroot-gz.git] / package / ftop / ftop-0001-overflow.patch
bloba3a27c37727616f470fad907692121de8110e9c1
1 Set tmp_buf and rate_buf to something ridiculously high to fix a buffer
2 overflow when COLUMNS is large. - JeR
4 (Taken from gentoo portage)
5 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7 --- a/src/ftop.c 2009-02-16 07:00:00.000000000 +0100
8 +++ b/src/ftop.c 2013-09-06 14:42:41.788852952 +0200
9 @@ -736,7 +736,7 @@
11 size_t i, j, bytes, bar_total;
12 char more_procs_ch, more_files_ch, expanded_ch;
13 - char tmp_buf[80], rate_buf[80];
14 + char tmp_buf[2048], rate_buf[2048];
15 char *tmp_str;
16 snapshot *s, *s_prev;
17 file_info *tmp_file;