Accepting request 517662 from network
- Add BuildRequires libnsl-devel (needed for obsoleting nsl in glibc) - svc-freeargs.patch: always call svc_freeargs, even if svc_getargs failed (bsc#1037559, CVE-2017-8779) OBS-URL: https://build.opensuse.org/request/show/517662 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpcbind?expand=0&rev=54
This commit is contained in:
commit
a437ec2aa5
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 16 10:34:13 CEST 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Add BuildRequires libnsl-devel (needed for obsoleting nsl in
|
||||||
|
glibc)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 17 09:14:15 UTC 2017 - schwab@suse.de
|
||||||
|
|
||||||
|
- svc-freeargs.patch: always call svc_freeargs, even if svc_getargs
|
||||||
|
failed (bsc#1037559, CVE-2017-8779)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 2 13:58:57 CEST 2017 - kukuk@suse.de
|
Tue May 2 13:58:57 CEST 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -28,6 +28,9 @@ Source2: sysconfig.rpcbind
|
|||||||
Source3: rpcbind.xml
|
Source3: rpcbind.xml
|
||||||
Source4: pmap_set.c
|
Source4: pmap_set.c
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} >= 1330
|
||||||
|
BuildRequires: libnsl-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libtirpc-devel >= 1.0.1
|
BuildRequires: libtirpc-devel >= 1.0.1
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -53,6 +56,7 @@ Patch12: 0012-Move-default-state-dir-to-a-subdirectory-of-var-run.patch
|
|||||||
Patch14: 0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
|
Patch14: 0014-When-using-systemd-redirect-syslog-calls-to-the-syst.patch
|
||||||
Patch30: 0030-systemd-fix-rmtcall.patch
|
Patch30: 0030-systemd-fix-rmtcall.patch
|
||||||
Patch31: 0031-rpcbind-manpage.patch
|
Patch31: 0031-rpcbind-manpage.patch
|
||||||
|
Patch32: svc-freeargs.patch
|
||||||
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
Provides: portmap
|
Provides: portmap
|
||||||
@ -81,6 +85,7 @@ cp %{SOURCE4} .
|
|||||||
#%patch14 -p1
|
#%patch14 -p1
|
||||||
#%patch30 -p1
|
#%patch30 -p1
|
||||||
%patch31 -p1
|
%patch31 -p1
|
||||||
|
%patch32 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
26
svc-freeargs.patch
Normal file
26
svc-freeargs.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Index: rpcbind-0.2.3/src/rpcb_svc.c
|
||||||
|
===================================================================
|
||||||
|
--- rpcbind-0.2.3.orig/src/rpcb_svc.c
|
||||||
|
+++ rpcbind-0.2.3/src/rpcb_svc.c
|
||||||
|
@@ -166,7 +166,7 @@ rpcb_service_3(struct svc_req *rqstp, SV
|
||||||
|
svcerr_decode(transp);
|
||||||
|
if (debugging)
|
||||||
|
(void) xlog(LOG_DEBUG, "rpcbind: could not decode");
|
||||||
|
- return;
|
||||||
|
+ goto done;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (rqstp->rq_proc == RPCBPROC_SET
|
||||||
|
Index: rpcbind-0.2.3/src/rpcb_svc_4.c
|
||||||
|
===================================================================
|
||||||
|
--- rpcbind-0.2.3.orig/src/rpcb_svc_4.c
|
||||||
|
+++ rpcbind-0.2.3/src/rpcb_svc_4.c
|
||||||
|
@@ -220,7 +220,7 @@ rpcb_service_4(struct svc_req *rqstp, SV
|
||||||
|
svcerr_decode(transp);
|
||||||
|
if (debugging)
|
||||||
|
(void) xlog(LOG_DEBUG, "rpcbind: could not decode\n");
|
||||||
|
- return;
|
||||||
|
+ goto done;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (rqstp->rq_proc == RPCBPROC_SET
|
Loading…
x
Reference in New Issue
Block a user