Merge "media: v4l2-compat-ioctl32: memset stack union in compat ioctl"

This commit is contained in:
Linux Build Service Account 2017-10-12 05:07:53 -07:00 committed by Gerrit - the friendly Code Review server
commit 1fe630ed29

View file

@ -879,6 +879,7 @@ static long do_video_ioctl(struct file *file, unsigned int cmd, unsigned long ar
int compatible_arg = 1;
long err = 0;
memset(&karg, 0, sizeof(karg));
/* First, convert the command. */
switch (cmd) {
case VIDIOC_G_FMT32: cmd = VIDIOC_G_FMT; break;