Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2109e876f7 | ||
|
|
1d502761e4 |
2 changed files with 38 additions and 16 deletions
30
dhcp-statement_parser.patch
Normal file
30
dhcp-statement_parser.patch
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
diff --git a/common/parse.c b/common/parse.c
|
||||
index 386a6321..fc7b39c6 100644
|
||||
--- a/common/parse.c
|
||||
+++ b/common/parse.c
|
||||
@@ -3,7 +3,7 @@
|
||||
Common parser code for dhcpd and dhclient. */
|
||||
|
||||
/*
|
||||
- * Copyright (c) 2004-2019 by Internet Systems Consortium, Inc. ("ISC")
|
||||
+ * Copyright (c) 2004-2021 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 1995-2003 by Internet Software Consortium
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
@@ -5556,13 +5556,14 @@ int parse_X (cfile, buf, max)
|
||||
skip_to_semi (cfile);
|
||||
return 0;
|
||||
}
|
||||
- convert_num (cfile, &buf [len], val, 16, 8);
|
||||
- if (len++ > max) {
|
||||
+ if (len >= max) {
|
||||
parse_warn (cfile,
|
||||
"hexadecimal constant too long.");
|
||||
skip_to_semi (cfile);
|
||||
return 0;
|
||||
}
|
||||
+ convert_num (cfile, &buf [len], val, 16, 8);
|
||||
+ len++;
|
||||
token = peek_token (&val, (unsigned *)0, cfile);
|
||||
if (token == COLON)
|
||||
token = next_token (&val,
|
||||
24
dhcp.spec
24
dhcp.spec
|
|
@ -15,7 +15,7 @@
|
|||
Summary: Dynamic host configuration protocol software
|
||||
Name: dhcp
|
||||
Version: 4.4.2
|
||||
Release: 8.b1%{?dist}
|
||||
Release: 10.b1%{?dist}
|
||||
|
||||
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
|
||||
# dcantrell maintaining the package) made incorrect use of the epoch and
|
||||
|
|
@ -61,6 +61,7 @@ Patch25 : 0025-bind-Detect-system-time-changes.patch
|
|||
Patch26 : 0026-Add-dhclient-5-B-option-description.patch
|
||||
Patch27: 0027-Add-missed-sd-notify-patch-to-manage-dhcpd-with-syst.patch
|
||||
|
||||
Patch100: dhcp-statement_parser.patch
|
||||
|
||||
|
||||
|
||||
|
|
@ -127,19 +128,6 @@ easier to administer a large network.
|
|||
|
||||
This package provides the ISC DHCP relay agent.
|
||||
|
||||
%package compat
|
||||
Summary: Utility package to help transition
|
||||
Provides: dhcp = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: dhcp < %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-server = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-relay = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description compat
|
||||
This package only exists to help transition dhcp users to the new
|
||||
package split (dhcp -> dhcp & dhcrelay).
|
||||
It will be removed after one distribution release cycle, please
|
||||
do not reference it or depend on it in any way.
|
||||
|
||||
%package client
|
||||
Summary: Provides the ISC DHCP client daemon and dhclient-script
|
||||
Provides: dhclient = %{epoch}:%{version}-%{release}
|
||||
|
|
@ -482,8 +470,6 @@ done
|
|||
%attr(0644,root,root) %{_unitdir}/dhcrelay.service
|
||||
%attr(0644,root,root) %{_mandir}/man8/dhcrelay.8.gz
|
||||
|
||||
%files compat
|
||||
|
||||
%files client
|
||||
%doc README.dhclient.d
|
||||
%doc client/dhclient.conf.example client/dhclient6.conf.example client/dhclient-enter-hooks
|
||||
|
|
@ -525,6 +511,12 @@ done
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jun 11 2021 Pavel Zhukov <pzhukov@redhat.com> - 12:4.4.2-10.b1
|
||||
- Drop compat package finally
|
||||
|
||||
* Thu May 27 2021 Pavel Zhukov <pzhukov@redhat.com> - 12:4.4.2-9.b1
|
||||
- Fix for CVE-2021-25217
|
||||
|
||||
* Wed Jul 29 2020 Pavel Zhukov <pavel@pzhukov-pc.home.redhat.com> - 12:4.4.2-8.b1
|
||||
- Fix IB patch (#1860689)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue