diff --git a/wireshark-1.8.x-tap-iostat-overflow.patch b/wireshark-1.8.x-tap-iostat-overflow.patch new file mode 100644 index 0000000..f253b85 --- /dev/null +++ b/wireshark-1.8.x-tap-iostat-overflow.patch @@ -0,0 +1,13 @@ +diff --git a/ui/cli/tap-iostat.c b/ui/cli/tap-iostat.c +index 6722c01..dd1c6f1 100644 +--- a/ui/cli/tap-iostat.c ++++ b/ui/cli/tap-iostat.c +@@ -927,7 +927,7 @@ iostat_draw(void *arg) + num_rows = (int)(duration/interval) + (((duration%interval+500000)/1000000) > 0 ? 1 : 0); + + /* Load item_in_column with the first item in each column */ +- item_in_column = (io_stat_item_t **) g_malloc(sizeof(io_stat_item_t) * num_cols); ++ item_in_column = (io_stat_item_t **) g_malloc(sizeof(io_stat_item_t *) * num_cols); + for (j=0; j= 0.9 @@ -145,6 +146,7 @@ and plugins. %patch7 -p1 -b .flow-graph-crash %patch8 -p1 -b .dcom-overrun %patch9 -p1 -b .sctp-bytes-graph-crash +%patch10 -p1 -b .tap-iostat-overflow %build %ifarch s390 s390x sparcv9 sparc64 @@ -372,6 +374,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/aclocal/* %changelog +* Wed Sep 04 2013 Peter Hatina - 1.10.0-10 +- fix tap iostat overflow + * Wed Sep 04 2013 Peter Hatina - 1.10.0-9 - fix sctp bytes graph crash