[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZA8EivEAn7NCRH11@valkosipuli.retiisi.eu>
Date: Mon, 13 Mar 2023 13:10:02 +0200
From: Sakari Ailus <sakari.ailus@....fi>
To: Kang Chen <void0red@...il.com>
Cc: mchehab@...nel.org, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: v4l2: check null return of kmalloc in
format_ref_list_p and format_ref_list_b
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@...il.com>
This seems to have been addressed by commit
be3ae7cf4326e95bb1d5413b63baabc26f4a1324 that's already in upstream.
--
Kind regards,
Sakari Ailus
Powered by blists - more mailing lists