Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754384Ab3JMLN3 (ORCPT ); Sun, 13 Oct 2013 07:13:29 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:47818 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754215Ab3JMLN2 (ORCPT ); Sun, 13 Oct 2013 07:13:28 -0400 Message-ID: <525A8053.9020409@gmail.com> Date: Sun, 13 Oct 2013 13:13:23 +0200 From: Sylwester Nawrocki User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120412 Thunderbird/11.0.1 MIME-Version: 1.0 To: Roel Kluin CC: Kyungmin Park , Sylwester Nawrocki , Mauro Carvalho Chehab , Kukjin Kim , linux-media@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: exynos4: index out of bounds if no pixelcode found References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 22 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 wrapped) and didn't apply cleanly. The patchwork also didn't catch it properly: https://patchwork.linuxtv.org/patch/20380/ I'd suggest using git send-email in future. Thanks, Sylwester -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/