import rpcbind-1.2.6-5.el9
This commit is contained in:
parent
1908cc410e
commit
89b67b4a70
15
SOURCES/rpcbind-1.2.6-double-free.patch
Normal file
15
SOURCES/rpcbind-1.2.6-double-free.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -up rpcbind-1.2.6/src/rpcbind.c.orig rpcbind-1.2.6/src/rpcbind.c
|
||||||
|
--- rpcbind-1.2.6/src/rpcbind.c.orig 2022-08-16 10:16:03.196903368 -0400
|
||||||
|
+++ rpcbind-1.2.6/src/rpcbind.c 2022-08-16 10:16:38.595062481 -0400
|
||||||
|
@@ -562,8 +562,10 @@ init_transport(struct netconfig *nconf)
|
||||||
|
syslog(LOG_ERR, "cannot bind %s on %s: %m",
|
||||||
|
(hosts[nhostsbak] == NULL) ? "*" :
|
||||||
|
hosts[nhostsbak], nconf->nc_netid);
|
||||||
|
- if (res != NULL)
|
||||||
|
+ if (res != NULL) {
|
||||||
|
freeaddrinfo(res);
|
||||||
|
+ res = NULL;
|
||||||
|
+ }
|
||||||
|
continue;
|
||||||
|
} else
|
||||||
|
checkbind++;
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: rpcbind
|
Name: rpcbind
|
||||||
Version: 1.2.6
|
Version: 1.2.6
|
||||||
Release: 2%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Universal Addresses to RPC Program Number Mapper
|
Summary: Universal Addresses to RPC Program Number Mapper
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://sourceforge.net/projects/rpcbind/
|
URL: https://sourceforge.net/projects/rpcbind/
|
||||||
@ -22,6 +22,11 @@ Requires(post): systemd policycoreutils
|
|||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd coreutils
|
Requires(postun): systemd coreutils
|
||||||
|
|
||||||
|
#
|
||||||
|
# RHEL9.1
|
||||||
|
#
|
||||||
|
Patch001: rpcbind-1.2.6-double-free.patch
|
||||||
|
|
||||||
Patch100: rpcbind-0.2.3-systemd-envfile.patch
|
Patch100: rpcbind-0.2.3-systemd-envfile.patch
|
||||||
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
||||||
Patch102: rpcbind-0.2.4-runstatdir.patch
|
Patch102: rpcbind-0.2.4-runstatdir.patch
|
||||||
@ -37,13 +42,8 @@ universal addresses. It must be running on the host to be able to make
|
|||||||
RPC calls on a server on that machine.
|
RPC calls on a server on that machine.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%patch100 -p1
|
|
||||||
%patch101 -p1
|
|
||||||
%patch102 -p1
|
|
||||||
%patch103 -p1
|
|
||||||
%patch104 -p1
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fisv
|
autoreconf -fisv
|
||||||
%configure \
|
%configure \
|
||||||
@ -125,6 +125,15 @@ fi
|
|||||||
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
|
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 6 2022 Steve Dickson <steved@redhat.com> - 1.2.6-5
|
||||||
|
- Fixed a typo in changelog (bz 2115517)
|
||||||
|
|
||||||
|
* Tue Aug 16 2022 Steve Dickson <steved@redhat.com> - 1.2.6-4
|
||||||
|
- Use %autosetup -p1 to make sure patches apply (bz 2115517)
|
||||||
|
|
||||||
|
* Tue Aug 16 2022 Steve Dickson <steved@redhat.com> - 1.2.6-3
|
||||||
|
- Fixed a double free in init_transport (bz 2115517)
|
||||||
|
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.6-2
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.6-2
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user