]> git.baikalelectronics.ru Git - uboot.git/commit
driver: video: Check allocated pointers
authorBin Meng <bmeng.cn@gmail.com>
Wed, 18 May 2022 05:36:18 +0000 (13:36 +0800)
committerAnatolij Gustschin <agust@denx.de>
Sat, 25 Jun 2022 06:10:21 +0000 (08:10 +0200)
commit6fcaa0660e2aec57abd0e706525bbd66ea689325
treed94cdc7e371e469132337c335f31faf577744bf0
parent5e613359871d4d5d8dd31d2e6dc3c422ff4f901b
driver: video: Check allocated pointers

The codes that call STBTT_malloc() / stbtt__new_active() do not check
the return value at present which may cause segfault.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/video/stb_truetype.h