a0b2acecaa
Avoid to the heap-based buffer overflow. Upgrade to the below package to fix the CVE issue: grub2-2.02-0.86.el7.centos.src.rpm At the same time adjust the context and drop 0004-grub2-remove-32b-requirements.patch since it already had been included in the new version. Story: 2008532 Task: 41664 Change-Id: I7943127323ee28457ffe0a4ece54764633f86d9f Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From 5e0c8a6125403db7e90990d20c1cdda5cb9deb78 Mon Sep 17 00:00:00 2001
|
|
From: jmckenna <jason.mckenna@windriver.com>
|
|
Date: Wed, 28 Mar 2018 14:08:57 -0400
|
|
Subject: [PATCH 11/12] Patch GRUB so that it doesn't add a trailing colon
|
|
after MAC
|
|
|
|
A CentOS GRUB patch added support for macs > 6B in size. This
|
|
breaks PXEbooting the installer, because a routine within grub
|
|
relies on the max MAC string length.
|
|
---
|
|
SOURCES/grub.macros | 2 +-
|
|
SOURCES/grub.patches | 2 ++
|
|
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/SOURCES/grub.macros b/SOURCES/grub.macros
|
|
index ffdd23c..8fcb272 100644
|
|
--- a/SOURCES/grub.macros
|
|
+++ b/SOURCES/grub.macros
|
|
@@ -82,7 +82,7 @@
|
|
%global legacy_package_arch pc
|
|
%global platform pc
|
|
|
|
-%global wrs_modules " multiboot multiboot2"
|
|
+%global wrs_modules " multiboot multiboot2 regexp"
|
|
%else
|
|
%global wrs_modules ""
|
|
|
|
diff --git a/SOURCES/grub.patches b/SOURCES/grub.patches
|
|
index e24bd8c..73ccdee 100644
|
|
--- a/SOURCES/grub.patches
|
|
+++ b/SOURCES/grub.patches
|
|
@@ -334,3 +334,5 @@ Patch0287: 0287-Make-root_url-reflect-the-protocol-hostname-of-our-b.patch
|
|
Patch0334: 0334-linux-Fix-integer-overflows-in-initrd-size-handling.patch
|
|
Patch1000: 1000_linux-mktitle-de-brand-the-grub.cfg-menu.patch
|
|
Patch1001: 1001-add-tboot.patch
|
|
+Patch1002: 1002-Don-t-write-trailing-colon-when-populating-MAC-strin.patch
|
|
+
|
|
--
|
|
2.7.4
|
|
|