Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c49a9bc7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: Fix NULL pointer dereference in msm_vb2.c"

parents 26e24a44 c28296b9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -717,6 +717,9 @@ static long msm_private_ioctl(struct file *file, void *fh,
		return 0;
	}

	if (!event_data)
		return -EINVAL;

	memset(&event, 0, sizeof(struct v4l2_event));
	session_id = event_data->session_id;
	stream_id = event_data->stream_id;