commit | 031f515b3d303eca80518ed9a71c79ed420b352a | [log] [tgz] |
---|---|---|
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | Wed Jan 09 15:09:55 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Feb 05 17:51:58 2013 -0200 |
tree | 01529d8275c75b939181759245da312b4f7841d2 | |
parent | c6c03915b630c2b4e488be4f21ab46703e31c16b [diff] |
[media] s5p-fimc: Avoid null pointer dereference in fimc_capture_ctrls_create() With presence of some faults, e.g. caused by wrong platform data or the device tree structure the IDX_SENSOR entry in the array may be NULL, so make sure it is not dereferenced then. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>