summaryrefslogtreecommitdiff
path: root/0c4da2bb2f4d7d3cd2cdea1369374d5b4f7e3b29
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-11-15 11:30:44 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-11-15 11:42:25 +0100
commitac40b79f002a2315f909548614ccd2d408da25b7 (patch)
tree5ece0730097dff98c607e5d6b5fb50d9bc4d8f4d /0c4da2bb2f4d7d3cd2cdea1369374d5b4f7e3b29
parenta6ec4a37028952ffd6e62eb52648cf66248eb519 (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> Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Diffstat (limited to '0c4da2bb2f4d7d3cd2cdea1369374d5b4f7e3b29')
0 files changed, 0 insertions, 0 deletions