Merge "media: v4l2-compat-ioctl32: memset stack union in compat ioctl"
This commit is contained in:
commit
1fe630ed29
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue