Hello community,

here is the log from the commit of package procps for openSUSE:Factory checked 
in at 2011-12-21 14:58:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/procps (Old)
 and      /work/SRC/openSUSE:Factory/.procps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "procps", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/procps/procps.changes    2011-11-23 
19:37:41.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.procps.new/procps.changes       2011-12-21 
14:58:19.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Dec 20 10:51:18 UTC 2011 - [email protected]
+
+- Avoid segfault with top when /proc is not readable (bnc#733753)
+
+-------------------------------------------------------------------

New:
----
  procps-3.2.8-procfs-no-perm.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ procps.spec ++++++
--- /var/tmp/diff_new_pack.fuzoi1/_old  2011-12-21 14:58:20.000000000 +0100
+++ /var/tmp/diff_new_pack.fuzoi1/_new  2011-12-21 14:58:20.000000000 +0100
@@ -79,6 +79,7 @@
 Patch41:        procps-3.2.7-petabytes.patch
 Patch42:        procps-3.2.7-large_pcpu.patch
 Patch43:        procps-3.2.8-tinfo.dif
+Patch44:        procps-3.2.8-procfs-no-perm.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -150,6 +151,7 @@
 %patch41 -p1
 %patch42 -p1
 %patch43
+%patch44 -p1
 
 %build
 make %{?_smp_mflags} CFLAGS="-Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
$RPM_OPT_FLAGS -pipe" \

++++++ procps-3.2.8-procfs-no-perm.patch ++++++
--- procps-3.2.8/top.c
+++ procps-3.2.8/top.c  2011-12-20 10:49:54.000000000 +0000
@@ -1147,6 +1147,11 @@ static proc_t **procs_refresh (proc_t **
    else
       PT = openproc(flags);
 
+   if (PT==NULL) {
+      std_err(strerror(errno));
+      exit(1);
+   }
+
    // i) Allocated Chunks:  *Existing* table;  refresh + reuse
    if (!(CHKw(Curwin, Show_THREADS))) {
       while (curmax < savmax) {
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to