From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id pBGLIp2x068921 for ; Fri, 16 Dec 2011 15:18:52 -0600 Date: Fri, 16 Dec 2011 15:19:16 -0600 From: Ben Myers Subject: Re: [PATCH] xfs: fix acl count validation in xfs_acl_from_disk() Message-ID: <20111216211916.GO29840@sgi.com> References: <1323726952-22963-1-git-send-email-xi.wang@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1323726952-22963-1-git-send-email-xi.wang@gmail.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Xi Wang Cc: xfs@oss.sgi.com, Christoph Hellwig , linux-kernel@vger.kernel.org On Mon, Dec 12, 2011 at 04:55:52PM -0500, Xi Wang wrote: > Commit fa8b18ed didn't prevent the integer overflow and possible > memory corruption. "count" can go negative and bypass the check. > > Signed-off-by: Xi Wang Looks good. Nice catch! Reviewed-by: Ben Myers _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs