]> code.ossystems Code Review - openembedded-core.git/commit
grub: add a fix for malformed device path handling
authorMarta Rybczynska <rybczynska@gmail.com>
Fri, 18 Feb 2022 10:05:13 +0000 (11:05 +0100)
committerSteve Sakoman <steve@sakoman.com>
Wed, 23 Feb 2022 15:00:41 +0000 (05:00 -1000)
commit7f08d97fb6a0ff9c779f788df150b54de8af2708
tree96f5b7f294aa8f1b6892932d70be0ac99411dd19
parent8e537ef16bc1ef4bc807cc165d3b7eb1301578de
grub: add a fix for malformed device path handling

This change fixes the malformed device paths in EFI handling.
Device paths of length 4 or shorter could cause different
kinds of unexpected behaviours.

This patch is NOT a part of [1], but is a dependency of one
of the patches included in the series.

[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/0005-efi-Fix-some-malformed-device-path-arithmetic-errors.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc