On Mon, Dec 05, 2022 at 07:29:36PM +0800, Zhang Boyang wrote: > There is a problem in ascii_glyph_lookup(). It doesn't check the return > value of grub_malloc(). If memory can't be allocated, then NULL pointer > will be written to. > > This patch fixes the problem by fallbacking to unknown_glyph in case of > grub_malloc() returns NULL. > > Signed-off-by: Zhang Boyang <zhangboyang...@gmail.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel