mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* font/font.c (grub_font_get_glyph_with_fallback): Avoid dereferencing
NULL font.
This commit is contained in:
1 parent
2bdb2892b3
commit
942a10c71e
2 files changed
+7
No files matched your search
@@ -1029,6 +1029,8 @@ grub_font_get_glyph_with_fallback (grub_font_t font, grub_uint32_t code)
|
||||
next = node->next;
|
||||
|
||||
glyph = grub_font_get_glyph_internal (curfont, code);
|
||||
if (glyph && !font)
|
||||
return glyph;
|
||||
if (glyph)
|
||||
{
|
||||
int d;
|
||||
|
||||
Reference in new issue
Block a user