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

This fix adds a missing check for NULL pointer from an external source
in grub's kern/partition. 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/0015-kern-partition-Check-for-NULL-before-dereferencing-i.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc