forked from pool/psmisc
Accepting request 22149 from home:a_jaeger:branches:openSUSE:Factory
Copy from home:a_jaeger:branches:openSUSE:Factory/psmisc via accept of submit request 22149 revision 4. OBS-URL: https://build.opensuse.org/request/show/22149 OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=8
This commit is contained in:
parent
ea2cd83207
commit
568a4d99b2
12
psmisc-22.8-to-22.7-backport.patch
Normal file
12
psmisc-22.8-to-22.7-backport.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- src/pstree.c.orig 2008-12-16 11:13:35.000000000 +0100
|
||||||
|
+++ src/pstree.c 2009-10-08 19:37:59.000000000 +0200
|
||||||
|
@@ -749,6 +749,9 @@
|
||||||
|
exit (1);
|
||||||
|
}
|
||||||
|
(void) close (fd);
|
||||||
|
+ /* If we have read the maximum screen length of args, bring it back by one to stop overflow */
|
||||||
|
+ if (size >= buffer_size)
|
||||||
|
+ size--;
|
||||||
|
if (size)
|
||||||
|
buffer[size++] = 0;
|
||||||
|
#ifdef WITH_SELINUX
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 9 08:20:29 UTC 2009 - aj@suse.de
|
||||||
|
|
||||||
|
- fix pstree -a crash (bnc#545265) with patch backported from 22.8
|
||||||
|
by Björn Voigt <bjoern@cs.tu-berlin.de>.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 10 10:21:09 CEST 2009 - werner@suse.de
|
Thu Sep 10 10:21:09 CEST 2009 - werner@suse.de
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ Patch4: %name-22.7-writeonly.patch
|
|||||||
Patch5: %name-22.6-fdleak.patch
|
Patch5: %name-22.6-fdleak.patch
|
||||||
Patch6: %name-22.6-tigetstr.patch
|
Patch6: %name-22.6-tigetstr.patch
|
||||||
Patch7: %name-22.7-memleaks.patch
|
Patch7: %name-22.7-memleaks.patch
|
||||||
|
Patch8: %name-22.8-to-22.7-backport.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define nopeek s390 s390x ia64 %arm
|
%define nopeek s390 s390x ia64 %arm
|
||||||
|
|
||||||
@ -66,6 +67,7 @@ Authors:
|
|||||||
%patch6 -p0 -b .tigetstr
|
%patch6 -p0 -b .tigetstr
|
||||||
%patch7 -p0 -b .memleaks
|
%patch7 -p0 -b .memleaks
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
|
%patch8 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
Loading…
Reference in New Issue
Block a user