Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753734Ab2BQRwH (ORCPT ); Fri, 17 Feb 2012 12:52:07 -0500 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:57855 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751794Ab2BQRwD (ORCPT ); Fri, 17 Feb 2012 12:52:03 -0500 Date: Fri, 17 Feb 2012 17:51:46 +0000 From: Russell King - ARM Linux To: Ajeet Yadav Cc: Nicolas Pitre , Sumit Bhattacharya , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Jon Medhurst , Naveen Yadav Subject: Re: [PATCH 3/3] ARM: dma-mapping: fix array out of bound access Message-ID: <20120217175146.GP27825@n2100.arm.linux.org.uk> References: <1329494160-26942-1-git-send-email-ajeet.yadav.77@gmail.com> <20120217171915.GO27825@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 482 Lines: 10 On Fri, Feb 17, 2012 at 11:06:10PM +0530, Ajeet Yadav wrote: > ok lets consider case that we are accessing last page of last memory mapped > region and now analyse the for loop we will hit this case So, come on. Where's your analysis? -- 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/