Hello community, here is the log from the commit of package iptraf for openSUSE:Factory checked in at Thu Sep 1 17:08:42 CEST 2011.
-------- --- iptraf/iptraf.changes 2011-04-21 01:31:42.000000000 +0200 +++ /mounts/work_src_done/STABLE/iptraf/iptraf.changes 2011-09-01 14:36:19.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Sep 1 12:17:42 UTC 2011 - vci...@suse.com + +- fixed segfault caused by off-by-one allocation error (bnc#711726) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- iptraf-1.0.2-segfault.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iptraf.spec ++++++ --- /var/tmp/diff_new_pack.TzUxWB/_old 2011-09-01 17:06:29.000000000 +0200 +++ /var/tmp/diff_new_pack.TzUxWB/_new 2011-09-01 17:06:29.000000000 +0200 @@ -19,7 +19,7 @@ Name: iptraf Version: 1.0.2+git64 -Release: 3 +Release: 5 Group: Productivity/Networking/Diagnostic Summary: TCP/IP Network Monitor License: GPL2+ @@ -28,6 +28,8 @@ #Git-Clone: git://git.fedorahosted.org/git/iptraf-ng #currently with +3 from git://dev.medozas.de/iptraf-ng Source: %name-ng-%version.tar.xz +#PATCH-FIX-UPSTREAM off-by-one allocation error (bnc#711726) +Patch0: iptraf-1.0.2-segfault.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ncurses-devel xz @@ -37,10 +39,6 @@ interface statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN station packet and byte counts. -Author(s): ----------- - Nikola Pajkovsky - Gerard Paul Java (original iptraf) %package ng License: GPL2+ @@ -60,13 +58,10 @@ interface statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN station packet and byte counts. -Author(s): ----------- - Nikola Pajkovsky - Gerard Paul Java (original iptraf) %prep %setup -qn %name-ng +%patch0 -p1 %build if [ ! -e configure ]; then ++++++ iptraf-1.0.2-segfault.patch ++++++ Index: iptraf-ng/src/tui/winops.c =================================================================== --- iptraf-ng.orig/src/tui/winops.c +++ iptraf-ng/src/tui/winops.c @@ -28,7 +28,7 @@ void tx_colorwin(WINDOW * win) { int ctr; char *blankpad; - blankpad = (char *) malloc(sizeof(char) * (COLS + 1)); + blankpad = (char *) malloc(sizeof(char) * (COLS + 2)); strcpy(blankpad, ""); @@ -50,7 +50,7 @@ void tx_wcoloreol(WINDOW *win) int y, x; int cury, curx; char sp_buf[10]; - + getyx(win, cury, curx); getmaxyx(win, y, x); sprintf(sp_buf, "%%%dc", x - curx - 1); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org