The p_h264_pps pointer in struct v4l2_ext_control was missing the __user annotation. Add this.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -1817,7 +1817,7 @@ struct v4l2_ext_control { · 1816 unmodified lines | ||
| 1817 | 1817 | __s64 __user *p_s64; |
| 1818 | 1818 | struct v4l2_area __user *p_area; |
| 1819 | 1819 | struct v4l2_ctrl_h264_sps __user *p_h264_sps; |
| 1820 | − struct v4l2_ctrl_h264_pps *p_h264_pps; | |
| 1820 | + struct v4l2_ctrl_h264_pps __user *p_h264_pps; | |
| 1821 | 1821 | struct v4l2_ctrl_h264_scaling_matrix __user *p_h264_scaling_matrix; |
| 1822 | 1822 | struct v4l2_ctrl_h264_pred_weights __user *p_h264_pred_weights; |
| 1823 | 1823 | struct v4l2_ctrl_h264_slice_params __user *p_h264_slice_params; |