Re: exynos4: index out of bounds if no pixelcode found

2013-10-13 Thread Sylwester Nawrocki
Hi Roel, On 10/13/2013 12:16 PM, Roel Kluin wrote: In case no valid pixelcode is found, an i of -1 after the loop is out of bounds for the array. Signed-off-by: Roel Kluin Thank you for the fix, I have applied this patch to my tree for 3.13. However it seems to be mangled (at least line

exynos4: index out of bounds if no pixelcode found

2013-10-13 Thread Roel Kluin
In case no valid pixelcode is found, an i of -1 after the loop is out of bounds for the array. Signed-off-by: Roel Kluin --- diff --git a/drivers/media/platform/exynos4-is/fimc-lite-reg.c b/drivers/media/platform/exynos4-is/fimc-lite-reg.c index 72a343e3b..d0dc7ee 100644 ---

exynos4: index out of bounds if no pixelcode found

2013-10-13 Thread Roel Kluin
In case no valid pixelcode is found, an i of -1 after the loop is out of bounds for the array. Signed-off-by: Roel Kluin roel.kl...@gmail.com --- diff --git a/drivers/media/platform/exynos4-is/fimc-lite-reg.c b/drivers/media/platform/exynos4-is/fimc-lite-reg.c index 72a343e3b..d0dc7ee 100644

Re: exynos4: index out of bounds if no pixelcode found

2013-10-13 Thread Sylwester Nawrocki
Hi Roel, On 10/13/2013 12:16 PM, Roel Kluin wrote: In case no valid pixelcode is found, an i of -1 after the loop is out of bounds for the array. Signed-off-by: Roel Kluinroel.kl...@gmail.com Thank you for the fix, I have applied this patch to my tree for 3.13. However it seems to be mangled