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
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
Rewrite the logic in a way that it makes it clearer to understand,
while preven