]> git.proxmox.com Git - grub2.git/commit
font: Reject glyphs exceeds font->max_glyph_width or font->max_glyph_height
authorZhang Boyang <zhangboyang.id@gmail.com>
Wed, 3 Aug 2022 11:45:33 +0000 (19:45 +0800)
committerSteve McIntyre <93sam@debian.org>
Sat, 12 Nov 2022 22:51:49 +0000 (22:51 +0000)
commit280a9f216319f955f7f7f751f4d0dc048bfdac2f
treeaea8cbdd5fe54ab6e33c6f2214bcf1534c68ab90
parent85856560d5751b7a77529e6fbf9acd2714e31cec
font: Reject glyphs exceeds font->max_glyph_width or font->max_glyph_height

Check glyph's width and height against limits specified in font's
metadata. Reject the glyph (and font) if such limits are exceeded.

Signed-off-by: Zhang Boyang <zhangboyang.id@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
debian/patches/cve_2022_2601/0002-font-Reject-glyphs-exceeds-font-max_glyph_width-or-f.patch [new file with mode: 0644]
grub-core/font/font.c