import UBI net-snmp-5.8-27.el8_8.1
This commit is contained in:
parent
6fb28e4191
commit
0be656ad1e
12
SOURCES/net-snmp-5.8-sendmsg-error-code.patch
Normal file
12
SOURCES/net-snmp-5.8-sendmsg-error-code.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urNp a/snmplib/transports/snmpUDPBaseDomain.c b/snmplib/transports/snmpUDPBaseDomain.c
|
||||||
|
--- a/snmplib/transports/snmpUDPBaseDomain.c 2023-08-01 08:20:56.776099134 +0200
|
||||||
|
+++ b/snmplib/transports/snmpUDPBaseDomain.c 2023-08-01 08:23:18.921323874 +0200
|
||||||
|
@@ -293,7 +293,7 @@ int netsnmp_udpbase_sendto(int fd, const
|
||||||
|
}
|
||||||
|
|
||||||
|
rc = sendmsg(fd, &m, MSG_NOSIGNAL|MSG_DONTWAIT);
|
||||||
|
- if (rc >= 0 || errno != EINVAL)
|
||||||
|
+ if (rc >= 0 || (errno != EINVAL && errno != ENETUNREACH))
|
||||||
|
return rc;
|
||||||
|
|
||||||
|
/*
|
@ -10,7 +10,7 @@
|
|||||||
Summary: A collection of SNMP protocol tools and libraries
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: 5.8
|
Version: 5.8
|
||||||
Release: 27%{?dist}
|
Release: 27%{?dist}.1
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -76,6 +76,7 @@ Patch47: net-snmp-5.8-dev-mem-leak.patch
|
|||||||
Patch48: net-snmp-5.8-CVE-2022-44792-44793.patch
|
Patch48: net-snmp-5.8-CVE-2022-44792-44793.patch
|
||||||
Patch49: net-snmp-5.8-ipv6-disable-leak.patch
|
Patch49: net-snmp-5.8-ipv6-disable-leak.patch
|
||||||
Patch50: net-snmp-5.8-proxy-time-out.patch
|
Patch50: net-snmp-5.8-proxy-time-out.patch
|
||||||
|
Patch51: net-snmp-5.8-sendmsg-error-code.patch
|
||||||
|
|
||||||
# Modern RPM API means at least EL6
|
# Modern RPM API means at least EL6
|
||||||
Patch101: net-snmp-5.8-modern-rpm-api.patch
|
Patch101: net-snmp-5.8-modern-rpm-api.patch
|
||||||
@ -251,6 +252,7 @@ rm -r python
|
|||||||
%patch48 -p1
|
%patch48 -p1
|
||||||
%patch49 -p1 -b .ipv6-disable-leak
|
%patch49 -p1 -b .ipv6-disable-leak
|
||||||
%patch50 -p1 -b .proxy-time-out
|
%patch50 -p1 -b .proxy-time-out
|
||||||
|
%patch51 -p1 -b .sendmsg-error-code
|
||||||
|
|
||||||
%patch101 -p1 -b .modern-rpm-api
|
%patch101 -p1 -b .modern-rpm-api
|
||||||
|
|
||||||
@ -505,6 +507,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
|
|||||||
%{_libdir}/libnetsnmptrapd*.so.%{soname}*
|
%{_libdir}/libnetsnmptrapd*.so.%{soname}*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 02 2023 Josef Ridky <jridky@redhat.com> - 1:5.8-27.1
|
||||||
|
- fix sendmsg error code for new kernel (#2226995)
|
||||||
|
|
||||||
* Tue Jan 31 2023 Josef Ridky <jridky@redhat.com> - 1:5.8-27
|
* Tue Jan 31 2023 Josef Ridky <jridky@redhat.com> - 1:5.8-27
|
||||||
- fix memory leak due of proc file creating (#2105957)
|
- fix memory leak due of proc file creating (#2105957)
|
||||||
- fix CVE-2022-44792 and CVE-2022-44793 (#2141901) and (#2141905)
|
- fix CVE-2022-44792 and CVE-2022-44793 (#2141901) and (#2141905)
|
||||||
|
Loading…
Reference in New Issue
Block a user