[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111216211916.GO29840@sgi.com>
Date: Fri, 16 Dec 2011 15:19:16 -0600
From: Ben Myers <bpm@....com>
To: Xi Wang <xi.wang@...il.com>
Cc: Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org,
xfs@....sgi.com
Subject: Re: [PATCH] xfs: fix acl count validation in xfs_acl_from_disk()
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 <xi.wang@...il.com>
Looks good. Nice catch!
Reviewed-by: Ben Myers <bpm@....com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists