diff options
author | 2018-03-22 14:02:21 -0400 | |
---|---|---|
committer | 2018-03-23 06:28:42 -0400 | |
commit | 912d2f8228be077a1743adb797ada1dfcfe99c81 (patch) | |
tree | 5e556862760e131d3c6c26eff0aa500ad55ca64f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: v4l2-tpg-core: avoid buffer overflows (diff) | |
download | linux-rng-912d2f8228be077a1743adb797ada1dfcfe99c81.tar.xz linux-rng-912d2f8228be077a1743adb797ada1dfcfe99c81.zip |
media: v4l2-ioctl: fix some "too small" warnings
While the code there is right, it produces three false positives:
drivers/media/v4l2-core/v4l2-ioctl.c:2868 video_usercopy() error: copy_from_user() 'parg' too small (128 vs 16383)
drivers/media/v4l2-core/v4l2-ioctl.c:2868 video_usercopy() error: copy_from_user() 'parg' too small (128 vs 16383)
drivers/media/v4l2-core/v4l2-ioctl.c:2876 video_usercopy() error: memset() 'parg' too small (128 vs 16383)
Store the ioctl size on a cache var, in order to suppress those.
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