]> code.ossystems Code Review - openembedded-core.git/commit
grub: avoid a memory leak
authorMarta Rybczynska <rybczynska@gmail.com>
Fri, 18 Feb 2022 10:05:47 +0000 (11:05 +0100)
committerSteve Sakoman <steve@sakoman.com>
Wed, 23 Feb 2022 15:00:42 +0000 (05:00 -1000)
commit265baabc6e7ce4962c22489158dba113e0d74b91
tree489d99bd92739dbe6a705b115ccb7e8cd287a254
parentb53db9013a0f4b3a2a91ec6e5c39d939f388749c
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>
meta/recipes-bsp/grub/files/0039-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc