[PATCH] driver: video: Check allocated pointers

Anatolij Gustschin agust at denx.de
Sat Jun 25 09:10:07 CEST 2022


On Wed, 18 May 2022 13:36:18 +0800
Bin Meng bmeng.cn at gmail.com wrote:

> 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 at gmail.com>
> ---
> 
>  drivers/video/stb_truetype.h | 18 ++++++++++++++----
>  1 file changed, 14 insertions(+), 4 deletions(-)


applied to u-boot-video/master, thanks!

--
Anatolij


More information about the U-Boot mailing list