diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-11-14 03:19:10 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-11-15 11:41:01 +0100 |
commit | e0f7ed35d188b792269f041f053ae182999e03a9 (patch) | |
tree | 4fab8a72815ca594e0234eea0513ad4e30058b70 /videoout.c | |
parent | 2d6416324ca2dd1b8c885460e9f3944ba78e156e (diff) |
media: Fix valgrind warnings
valgrind has no way to know that the kernel will fill links and pads
arrays passed to an ioctl through __user pointers. Allocate the arrays
with calloc() to make sure they get initialized. This also fixes the
potential integer overflow.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'videoout.c')
0 files changed, 0 insertions, 0 deletions