[PATCH 02/30] media: imx-media-utils: fix a warning
Dan Carpenter
dan.carpenter at oracle.com
Fri Mar 23 12:03:31 UTC 2018
On Fri, Mar 23, 2018 at 07:56:48AM -0400, Mauro Carvalho Chehab wrote:
> The logic at find_format() is a little bit confusing even for
> humans, and it tricks static code analyzers:
>
> drivers/staging/media/imx/imx-media-utils.c:259 find_format() error: buffer overflow 'array' 14 <= 20
It's always good to simplify the code, but I have a fix for this that I
will publish very soon.
regards,
dan carpenter
More information about the devel
mailing list