Hello community,
here is the log from the commit of package psmisc for openSUSE:Factory
checked in at Fri Oct 15 16:44:07 CEST 2010.
--------
--- psmisc/psmisc.changes 2010-09-19 10:45:00.000000000 +0200
+++ /mounts/work_src_done/STABLE/psmisc/psmisc.changes 2010-10-15 12:41:05.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Oct 15 12:36:16 CEST 2010 - werner@suse.de
+
+- Add fix from upstream for a crash in peekfd
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
psmisc-22.12.dif
New:
----
psmisc-22.13-peekfd-segv.patch
psmisc-22.13.dif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ psmisc.spec ++++++
--- /var/tmp/diff_new_pack.BxNrw7/_old 2010-10-15 16:43:52.000000000 +0200
+++ /var/tmp/diff_new_pack.BxNrw7/_new 2010-10-15 16:43:52.000000000 +0200
@@ -26,17 +26,18 @@
Group: System/Monitoring
PreReq: %fillup_prereq %insserv_prereq
Version: 22.13
-Release: 1
+Release: 2
Provides: ps:/usr/bin/killall
Summary: Utilities for managing processes on your system
Source: http://switch.dl.sourceforge.net/sourceforge/psmisc/%{name}-%{version}.tar.bz2
-Patch0: %name-22.12.dif
+Patch0: %name-22.13.dif
Patch1: %name-22.12-tigetstr.patch
Patch2: %name-22.12-pstree_overflow.patch
Patch3: %name-22.12-pstree.patch
Patch4: %name-22.12-leaks.patch
Patch5: %name-22.12-nfs4fuser.patch
Patch6: %name-22.12-writeonly.patch
+Patch7: %name-22.13-peekfd-segv.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define nopeek s390 s390x ia64 %sparc hppa
@@ -57,6 +58,7 @@
%patch4 -p0 -b .leaks
%patch5 -p0 -b .nfs4fuser
%patch6 -p0 -b .wrtonly
+%patch7 -p1 -b .peekfd
%patch0 -p0
%build
++++++ psmisc-22.13-peekfd-segv.patch ++++++
diff --git a/src/peekfd.c b/src/peekfd.c
index 2c30f25..6d759b9 100644
--- a/src/peekfd.c
+++ b/src/peekfd.c
@@ -199,7 +199,7 @@ int main(int argc, char **argv)
numfds = argc - optind;
fds = malloc(sizeof(int) * numfds);
for (i = 0; i < numfds; i++)
- fds[i] = atoi(argv[optind + i + 1]);
+ fds[i] = atoi(argv[optind + i]);
}
attach(target_pid);
++++++ psmisc-22.12.dif -> psmisc-22.13.dif ++++++
--- psmisc/psmisc-22.12.dif 2010-09-19 10:45:00.000000000 +0200
+++ /mounts/work_src_done/STABLE/psmisc/psmisc-22.13.dif 2010-10-15 12:41:04.000000000 +0200
@@ -1,3 +1,14 @@
+--- configure.ac
++++ configure.ac 2010-10-15 09:00:32.915927054 +0000
+@@ -72,7 +72,7 @@ AC_CHECK_MEMBERS([struct user_regs_struc
+ struct user_regs_struct.rdi,
+ struct user_regs_struct.rsi,
+ struct user_regs_struct.rdx], [],[],
+- [#include