summaryrefslogtreecommitdiff
path: root/isp/v4l2.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-11-14 03:19:10 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-11-15 11:41:01 +0100
commite0f7ed35d188b792269f041f053ae182999e03a9 (patch)
tree4fab8a72815ca594e0234eea0513ad4e30058b70 /isp/v4l2.h
parent2d6416324ca2dd1b8c885460e9f3944ba78e156e (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 'isp/v4l2.h')
0 files changed, 0 insertions, 0 deletions