Zhang Boyang
d7ed2ebcd6
font: Check return value of grub_malloc() in ascii_glyph_lookup()
...
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 when
grub_malloc() returns NULL.
Signed-off-by: Zhang Boyang <zhangboyang.id@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-01-10 16:01:01 +01:00
..
2019-04-08 15:22:10 +10:00
2022-04-20 18:27:52 +02:00
2022-11-14 17:37:51 +01:00
2023-01-10 15:59:51 +01:00
2022-08-20 00:23:11 +02:00
2023-01-10 16:01:01 +01:00
2022-12-07 23:38:26 +01:00
2021-03-02 15:54:15 +01:00
2022-03-14 15:45:59 +01:00
2022-03-14 15:46:18 +01:00
2012-03-03 13:05:08 +01:00
2011-11-11 21:03:49 +01:00
2022-03-14 15:46:38 +01:00
2022-12-07 23:38:26 +01:00
2022-10-27 16:14:14 +02:00
2022-12-07 23:38:26 +01:00
2022-04-20 18:27:52 +02:00
2022-10-27 17:24:59 +02:00
2022-12-07 23:38:25 +01:00
2022-11-14 17:50:17 +01:00
2022-03-14 15:59:07 +01:00
2022-11-14 17:17:21 +01:00
2022-03-14 15:59:45 +01:00
2022-12-07 23:38:25 +01:00
2022-03-14 16:00:27 +01:00
2022-11-14 20:24:39 +01:00
2013-10-14 03:40:20 +02:00
2014-01-18 23:15:40 +04:00
2014-01-18 23:15:40 +04:00
2022-03-07 15:05:22 +01:00
2017-08-14 16:27:10 +02:00
2017-05-03 12:49:31 +02:00
2022-03-21 18:47:16 +01:00
2013-03-01 11:15:09 +01:00
2014-09-21 18:23:23 +02:00
2022-11-14 17:13:24 +01:00
2023-01-10 15:59:51 +01:00
2017-05-03 12:49:31 +02:00