Hello community,
here is the log from the commit of package xfce4-panel-plugin-netload for
openSUSE:Factory checked in at 2014-11-24 11:09:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-panel-plugin-netload (Old)
and /work/SRC/openSUSE:Factory/.xfce4-panel-plugin-netload.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfce4-panel-plugin-netload"
Changes:
--------
---
/work/SRC/openSUSE:Factory/xfce4-panel-plugin-netload/xfce4-panel-plugin-netload.changes
2014-11-18 22:48:52.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.xfce4-panel-plugin-netload.new/xfce4-panel-plugin-netload.changes
2014-11-24 11:10:12.000000000 +0100
@@ -1,0 +2,11 @@
+Sun Nov 23 18:34:15 UTC 2014 - [email protected]
+
+- update to version 1.2.4
+ - option to show values as bits
+ - reverted "Do not enforce max length for text/device entries"
+ - set iface length name to 32 chars max
+ - translation updates
+- add xfce4-panel-plugin-netload-fix-array-out-of-bounds.patch in
+ order to fix an array out of bounds write (bxo#11328)
+
+-------------------------------------------------------------------
Old:
----
xfce4-netload-plugin-1.2.3.tar.bz2
New:
----
xfce4-netload-plugin-1.2.4.tar.bz2
xfce4-panel-plugin-netload-fix-array-out-of-bounds.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xfce4-panel-plugin-netload.spec ++++++
--- /var/tmp/diff_new_pack.vl66Fx/_old 2014-11-24 11:10:14.000000000 +0100
+++ /var/tmp/diff_new_pack.vl66Fx/_new 2014-11-24 11:10:14.000000000 +0100
@@ -20,13 +20,15 @@
%define plugin_name xfce4-netload-plugin
Name: xfce4-panel-plugin-netload
-Version: 1.2.3
+Version: 1.2.4
Release: 0
Summary: Network Load Monitoring Plugin for the Xfce Panel
License: GPL-2.0+
Group: System/GUI/XFCE
Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin
Source0:
http://archive.xfce.org/src/panel-plugins/%{plugin_name}/1.2/%{plugin_name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM xfce4-panel-plugin-netload-fix-array-out-of-bounds.patch
bxo#11328 [email protected] -- Fix an array out of bounds write
+Patch0: xfce4-panel-plugin-netload-fix-array-out-of-bounds.patch
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: pkgconfig(libxfce4panel-1.0)
@@ -43,6 +45,7 @@
%prep
%setup -q -n %{plugin_name}-%{version}
+%patch0 -p1
%build
%configure --disable-static
++++++ xfce4-netload-plugin-1.2.3.tar.bz2 -> xfce4-netload-plugin-1.2.4.tar.bz2
++++++
++++ 10272 lines of diff (skipped)
++++++ xfce4-panel-plugin-netload-fix-array-out-of-bounds.patch ++++++
Index: xfce4-netload-plugin-1.2.4/panel-plugin/net.c
===================================================================
--- xfce4-netload-plugin-1.2.4.orig/panel-plugin/net.c
+++ xfce4-netload-plugin-1.2.4/panel-plugin/net.c
@@ -33,6 +33,8 @@
#include <config.h>
#endif
+#include <glib.h>
+
/* From Wormulon */
#include "net.h"
#include "os.h"
@@ -81,8 +83,7 @@ int init_netload(netdata* data, const ch
return TRUE;
}
- strncpy( data->ifdata.if_name, device, INTERFACE_NAME_LENGTH);
- data->ifdata.if_name[INTERFACE_NAME_LENGTH] = '\0';
+ g_strlcpy(data->ifdata.if_name, device, sizeof(data->ifdata.if_name));
init_osspecific( data );
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]