forked from rpms/rpcbind
Auto sync2gitlab import of rpcbind-1.2.5-9.el8.src.rpm
This commit is contained in:
parent
96c94f02f8
commit
bcaff51aa9
12
rpcbind-1.2.5-network_init.patch
Normal file
12
rpcbind-1.2.5-network_init.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up rpcbind-1.2.5/src/util.c.orig rpcbind-1.2.5/src/util.c
|
||||
--- rpcbind-1.2.5/src/util.c.orig 2022-05-31 08:47:51.624211564 -0400
|
||||
+++ rpcbind-1.2.5/src/util.c 2022-05-31 08:49:54.577060858 -0400
|
||||
@@ -287,7 +287,7 @@ network_init()
|
||||
int s;
|
||||
#endif
|
||||
int ecode;
|
||||
- struct addrinfo hints, *res;
|
||||
+ struct addrinfo hints, *res = NULL;
|
||||
|
||||
memset(&hints, 0, sizeof hints);
|
||||
hints.ai_family = AF_INET;
|
13
rpcbind.spec
13
rpcbind.spec
@ -4,7 +4,7 @@
|
||||
|
||||
Name: rpcbind
|
||||
Version: 1.2.5
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Universal Addresses to RPC Program Number Mapper
|
||||
Group: System Environment/Daemons
|
||||
License: BSD
|
||||
@ -37,6 +37,11 @@ Patch002: rpcbind-1.2.5-covscan-resource-leaks.patch
|
||||
#
|
||||
Patch003: rpcbind-1.2.5-dowgrade-priority-callit.patch
|
||||
|
||||
#
|
||||
# RHEL 8.7
|
||||
#
|
||||
Patch004: rpcbind-1.2.5-network_init.patch
|
||||
|
||||
Patch100: rpcbind-0.2.3-systemd-envfile.patch
|
||||
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
||||
Patch102: rpcbind-0.2.4-runstatdir.patch
|
||||
@ -63,6 +68,9 @@ RPC calls on a server on that machine.
|
||||
# 1897122 - rpcbind : downgrade priority for non-libwrap CALLIT logging
|
||||
%patch003 -p1
|
||||
|
||||
# 1959003 - network_init: initialize response addrinfo list to NULL
|
||||
%patch004 -p1
|
||||
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
@ -157,6 +165,9 @@ fi
|
||||
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
|
||||
|
||||
%changelog
|
||||
* Tue May 31 2022 Steve Dickson <steved@redhat.com> - 1.2.5-9
|
||||
- network_init: initialize response addrinfo list to NULL (bz 1959003)
|
||||
|
||||
* Thu Nov 19 2020 Steve Dickson <steved@redhat.com> - 1.2.5-8
|
||||
- security: dowgrade priority for non-libwrap CALLIT logging (bz 1897122)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user