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

Commit 6f935319 authored by Soundrapandian Jeyaprakash's avatar Soundrapandian Jeyaprakash Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: fix the slab-out-of-bounds in the camera driver" into dev/msm-4.9-camx

parents 04476c2f 37f206cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -574,7 +574,7 @@ static int cam_soc_util_get_gpio_info(struct cam_hw_soc_info *soc_info)
		goto free_gpio_array;
	}

	for (i = 0; i <= gpio_array_size; i++)
	for (i = 0; i < gpio_array_size; i++)
		gconf->cam_gpio_common_tbl[i].gpio = gpio_array[i];

	gconf->cam_gpio_common_tbl_size = gpio_array_size;