Merge "msm: camera: Fix kernel overwrite GET_BUF_BY_IDX ioctl"
This commit is contained in:
commit
1399da4328
1 changed files with 1 additions and 2 deletions
|
@ -553,8 +553,7 @@ static long msm_buf_mngr_subdev_ioctl(struct v4l2_subdev *sd,
|
|||
sizeof(struct msm_buf_mngr_info))) {
|
||||
return -EFAULT;
|
||||
}
|
||||
MSM_CAM_GET_IOCTL_ARG_PTR(&k_ioctl.ioctl_ptr,
|
||||
&buf_info, sizeof(void *));
|
||||
k_ioctl.ioctl_ptr = (uintptr_t)&buf_info;
|
||||
argp = &k_ioctl;
|
||||
rc = msm_cam_buf_mgr_ops(cmd, argp);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue