Re: [PATCH] media: v4l2: check null return of kmalloc in format_ref_list_p and format_ref_list_b
From: Sakari Ailus
Date: Mon Mar 13 2023 - 07:11:38 EST
Hi Kang,
On Sun, Feb 26, 2023 at 02:50:11PM +0800, Kang Chen wrote:
> kmalloc may fails, *out_str might be null and will cause
> illegal address access later.
>
> Signed-off-by: Kang Chen <void0red@xxxxxxxxx>
This seems to have been addressed by commit
be3ae7cf4326e95bb1d5413b63baabc26f4a1324 that's already in upstream.
--
Kind regards,
Sakari Ailus