summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub2.inc
diff options
context:
space:
mode:
authorMarta Rybczynska <rybczynska@gmail.com>2022-02-18 11:05:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-02 00:21:36 +0000
commit01eb48b7f5681f2c4a51ae63243a7c7ccdc8435e (patch)
treecd5c38357f899ea06534490394ccdcd5ac2fc4f6 /meta/recipes-bsp/grub/grub2.inc
parentac746716fc5109848bceabdc6284c1de1194df39 (diff)
downloadpoky-01eb48b7f5681f2c4a51ae63243a7c7ccdc8435e.tar.gz
grub: fix a memory leak
Backport a fix for a memory leak in grub_mmap_iterate(). This patch is a part of a security series [1] [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00007.html (From OE-Core rev: 330ef99ae58e025b78bf30b9a9d09b32dfa2f605) Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r--meta/recipes-bsp/grub/grub2.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 9b20e1c09b..a06beac5ef 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -47,7 +47,8 @@ SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \
47 file://CVE-2020-27779_7.patch \ 47 file://CVE-2020-27779_7.patch \
48 file://CVE-2020-25632.patch \ 48 file://CVE-2020-25632.patch \
49 file://CVE-2020-25647.patch \ 49 file://CVE-2020-25647.patch \
50" 50 file://0001-mmap-Fix-memory-leak-when-iterating-over-mapped-memo.patch \
51 "
51SRC_URI[md5sum] = "5ce674ca6b2612d8939b9e6abed32934" 52SRC_URI[md5sum] = "5ce674ca6b2612d8939b9e6abed32934"
52SRC_URI[sha256sum] = "f10c85ae3e204dbaec39ae22fa3c5e99f0665417e91c2cb49b7e5031658ba6ea" 53SRC_URI[sha256sum] = "f10c85ae3e204dbaec39ae22fa3c5e99f0665417e91c2cb49b7e5031658ba6ea"
53 54