ov5650: Avoid array overrun on invalid size ubuntu-natty_ti-omap4-v4l2cam
authorSergio Aguirre <saaguirre@ti.com>
Tue, 27 Sep 2011 21:31:18 +0000 (16:31 -0500)
committerSergio Aguirre <saaguirre@ti.com>
Tue, 27 Sep 2011 21:31:18 +0000 (16:31 -0500)
commit5b5036d3b00313d16387f60bb497ceda3d75f9e9
tree191f08d0cd96a340858cc9a04efc6cf88049f723
parent229f8beecc0908a32f4522497f43014d08169576
ov5650: Avoid array overrun on invalid size

This should protect from getting an invalid index if
the options aren't found.

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
drivers/media/video/ov5650.c