diff options
author | 2018-03-22 09:11:20 -0400 | |
---|---|---|
committer | 2018-03-22 09:35:22 -0400 | |
commit | a23deac60a8683895543c8f335c36e475948716f (patch) | |
tree | 9468c5ab3ccb395847938cb124ee90b14288b021 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: dvbdev: handle ENOMEM error at dvb_module_probe() (diff) | |
download | linux-rng-a23deac60a8683895543c8f335c36e475948716f.tar.xz linux-rng-a23deac60a8683895543c8f335c36e475948716f.zip |
media: imx-media-utils: fix a warning
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 prevent static analyzers to produce false positives.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions