]> code.ossystems Code Review - openembedded-core.git/commit
grub: avoid a NULL pointer dereference
authorMarta Rybczynska <rybczynska@gmail.com>
Fri, 18 Feb 2022 10:05:53 +0000 (11:05 +0100)
committerSteve Sakoman <steve@sakoman.com>
Wed, 23 Feb 2022 15:00:42 +0000 (05:00 -1000)
commit6666dccd33178445f3c4fe277354393efb70285a
tree749c05b8855c07723cc1683a297ae32a310e6739
parentddf62ae472c3c26af7a4c91e4216c8d5ba4604ac
grub: avoid a NULL pointer dereference

This patch adds a fix for a NULL pointer dereference in grub's
commands/ls. 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/0045-commands-ls-Require-device_name-is-not-NULL-before-p.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc