diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-22 16:11:20 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-22 16:35:22 +0300 |
commit | a23deac60a8683895543c8f335c36e475948716f (patch) | |
tree | 9468c5ab3ccb395847938cb124ee90b14288b021 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 39adb4e739050dcdb74c3465d261de8de5f224b7 (diff) | |
download | linux-a23deac60a8683895543c8f335c36e475948716f.tar.xz |
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