diff options
author | Marta Rybczynska <rybczynska@gmail.com> | 2022-02-18 11:05:47 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-02-23 05:00:42 -1000 |
commit | 265baabc6e7ce4962c22489158dba113e0d74b91 (patch) | |
tree | 489d99bd92739dbe6a705b115ccb7e8cd287a254 /meta/recipes-bsp/grub/grub2.inc | |
parent | b53db9013a0f4b3a2a91ec6e5c39d939f388749c (diff) | |
download | openembedded-core-265baabc6e7ce4962c22489158dba113e0d74b91.tar.gz |
grub: avoid a memory leak
This patch fixes a memory leak in grub's loader/xnu when an error is
detected in grub_xnu_writetree_toheap(). It is a part of a security
series [1].
[1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00007.html
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index c9e7a06a3f..eebe9a7233 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -85,6 +85,7 @@ SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \ file://0036-gfxmenu-gui_list-Remove-code-that-coverity-is-flaggi.patch \ file://0037-loader-bsd-Check-for-NULL-arg-up-front.patch \ file://0038-loader-xnu-Fix-memory-leak.patch \ + file://0039-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch \ " SRC_URI[md5sum] = "5ce674ca6b2612d8939b9e6abed32934" SRC_URI[sha256sum] = "f10c85ae3e204dbaec39ae22fa3c5e99f0665417e91c2cb49b7e5031658ba6ea" |