]> code.ossystems Code Review - openembedded-core.git/commit
grub: add a check for a NULL pointer
authorMarta Rybczynska <rybczynska@gmail.com>
Fri, 18 Feb 2022 10:05:48 +0000 (11:05 +0100)
committerSteve Sakoman <steve@sakoman.com>
Wed, 23 Feb 2022 15:00:42 +0000 (05:00 -1000)
commit1d95061ecdc920835df44c0c3ed274193f26948e
tree92dd1ea7e6c86f08b960abb0cf8abf3534bf98d4
parent265baabc6e7ce4962c22489158dba113e0d74b91
grub: add a check for a NULL pointer

This patch adds a check for a NULL pointer before use in grub's
loader/xnu. 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/0040-loader-xnu-Check-if-pointer-is-NULL-before-using-it.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc