lkml.org 
[lkml]   [2011]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gmail.com>

Looks good. Nice catch!
Reviewed-by: Ben Myers <bpm@sgi.com>


\
 
 \ /
  Last update: 2011-12-16 22:21    [W:0.043 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site