grub2/grub-core/font
Daniel Kiper fcc11dc1e6 font: Do not load more than one NAME section
The GRUB font file can have one NAME section only. Though if somebody
crafts a broken font file with many NAME sections and loads it then the
GRUB leaks memory. So, prevent against that by loading first NAME
section and failing in controlled way on following one.

Reported-by: Chris Coulson <chris.coulson@canonical.com>
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Jan Setje-Eilers <jan.setjeeilers@oracle.com>

Patch-Name: font-name-leak.patch
2020-07-24 22:42:33 +01:00
..
font_cmd.c Detach optional parts of gfxterm and integrate in with coreboot init. 2013-05-31 00:42:33 +02:00
font.c font: Do not load more than one NAME section 2020-07-24 22:42:33 +01:00