[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200812203410.GA6168@eaf>
Date: Wed, 12 Aug 2020 17:34:10 -0300
From: Ernesto A. Fernández
<ernesto.mnd.fernandez@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Peilin Ye <yepeilin.cs@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-fsdevel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
syzkaller-bugs@...glegroups.com, linux-kernel@...r.kernel.org
Subject: Re: [Linux-kernel-mentees] [PATCH] hfs, hfsplus: Fix NULL pointer
dereference in hfs_find_init()
On Wed, Aug 12, 2020 at 05:24:20PM -0300, Ernesto A. Fernández wrote:
> If that's what the reproducer is about, I think just returning an error is
> reasonable.
I guess it would be better to put a check inside hfsplus_inode_read_fork(),
to verify that the first extent is always in the right place and wide
enough.
Powered by blists - more mailing lists