On Mon, Dec 05, 2022 at 07:29:38PM +0800, Zhang Boyang wrote:
> If max_char_width or max_char_height is negative, bad values might be
> propagated by grub_font_get_max_char_width() or
> grub_font_get_max_char_height(). Prevent this from happening.
>
> Signed-off-by: Zhang Boyang
Reviewed-by: Dani
If max_char_width or max_char_height is negative, bad values might be
propagated by grub_font_get_max_char_width() or
grub_font_get_max_char_height(). Prevent this from happening.
Signed-off-by: Zhang Boyang
---
grub-core/font/font.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
dif