Refactor patches
This commit is contained in:
		
							parent
							
								
									607f51280f
								
							
						
					
					
						commit
						6b289fd561
					
				| @ -1,17 +1,18 @@ | ||||
| From 02b4ae1953d39f1b6c3f0e63aefb72114039ab50 Mon Sep 17 00:00:00 2001 | ||||
| From: Pavel Zhukov <pzhukov@redhat.com> | ||||
| Date: Tue, 22 Jun 2021 06:56:29 +0200 | ||||
| Subject: [PATCH 28/29] Fix for  CVE-2021-25217 | ||||
| Cc: pzhukov@redhat.com | ||||
| 
 | ||||
| ---
 | ||||
|  common/parse.c | 5 +++-- | ||||
|  1 file changed, 3 insertions(+), 2 deletions(-) | ||||
| 
 | ||||
| diff --git a/common/parse.c b/common/parse.c
 | ||||
| index 386a6321..fc7b39c6 100644
 | ||||
| index f17bc0b..4e8b408 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)
 | ||||
| @@ -5587,13 +5587,14 @@ int parse_X (cfile, buf, max)
 | ||||
|  				skip_to_semi (cfile); | ||||
|  				return 0; | ||||
|  			} | ||||
| @ -28,3 +29,6 @@ index 386a6321..fc7b39c6 100644 | ||||
|  			token = peek_token (&val, (unsigned *)0, cfile); | ||||
|  			if (token == COLON) | ||||
|  				token = next_token (&val, | ||||
| -- 
 | ||||
| 2.26.3 | ||||
| 
 | ||||
| @ -1,11 +1,22 @@ | ||||
| diff --git a/lib/irs/include/irs/netdb.h.in b/lib/irs/include/irs/netdb.h.in
 | ||||
| index 299928b..4f11cea 100644
 | ||||
| From 019021caa791c254a319c71b4f634142dc14b37d Mon Sep 17 00:00:00 2001 | ||||
| From: Pavel Zhukov <pzhukov@redhat.com> | ||||
| Date: Tue, 22 Jun 2021 06:58:40 +0200 | ||||
| Subject: [PATCH 29/29] Use system getaddrinfo for dhcp | ||||
| Cc: pzhukov@redhat.com | ||||
| 
 | ||||
| ---
 | ||||
|  bind/bind/lib/irs/include/irs/netdb.h.in | 94 ++++++++++++++++++++++++ | ||||
|  1 file changed, 94 insertions(+) | ||||
| 
 | ||||
| diff --git a/bind/bind/lib/irs/include/irs/netdb.h.in b/bind/bind/lib/irs/include/irs/netdb.h.in
 | ||||
| index 23dcd37..f36113d 100644
 | ||||
| --- a/bind/bind/lib/irs/include/irs/netdb.h.in
 | ||||
| +++ b/bind/bind/lib/irs/include/irs/netdb.h.in
 | ||||
| @@ -158,6 +158,100 @@ struct addrinfo {
 | ||||
| @@ -149,6 +149,100 @@ struct addrinfo {
 | ||||
|  #define	NI_NUMERICSERV	0x00000008 | ||||
|  #define	NI_DGRAM	0x00000010 | ||||
|   | ||||
|  /* | ||||
| +/*
 | ||||
| + * Define to map into irs_ namespace.
 | ||||
| + */
 | ||||
| +
 | ||||
| @ -99,10 +110,9 @@ index 299928b..4f11cea 100644 | ||||
| +
 | ||||
| +#endif
 | ||||
| +
 | ||||
| +/*
 | ||||
|  /* | ||||
|   * Tell Emacs to use C mode on this file. | ||||
|   * Local variables: | ||||
|   * mode: c | ||||
| -- 
 | ||||
| 2.9.5 | ||||
| 2.26.3 | ||||
| 
 | ||||
| @ -60,10 +60,8 @@ Patch24 : 0024-Detect-system-time-changes.patch | ||||
| 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 | ||||
| Patch101: bind99-rh1205168.patch | ||||
| 
 | ||||
| Patch28:  0028-Fix-for-CVE-2021-25217.patch | ||||
| Patch29:  0029-Use-system-getaddrinfo-for-dhcp.patch | ||||
| 
 | ||||
| BuildRequires: autoconf | ||||
| BuildRequires: automake | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user