]> code.ossystems Code Review - openembedded-core.git/commit
grub: fix wrong handling of argc == 0
authorMarta Rybczynska <rybczynska@gmail.com>
Fri, 18 Feb 2022 10:05:12 +0000 (11:05 +0100)
committerSteve Sakoman <steve@sakoman.com>
Wed, 23 Feb 2022 15:00:41 +0000 (05:00 -1000)
commit8e537ef16bc1ef4bc807cc165d3b7eb1301578de
treea39eb75402eccd027421c33acc36babec7d3a4aa
parent17a06ced4ed9305e0a4064bdaad49e653c18284b
grub: fix wrong handling of argc == 0

This change fixes wrong handling of argc == 0 causing a memory leak.
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/0004-kern-parser-Fix-resource-leak-if-argc-0.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc