[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141104163715.GD30614@thunk.org>
Date: Tue, 4 Nov 2014 11:37:15 -0500
From: Theodore Ts'o <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: Sami Liedes <sami.liedes@....fi>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH 03/39] libext2fs: directory iteration mustn't walk off
the buffer end
On Sat, Oct 25, 2014 at 01:56:42PM -0700, Darrick J. Wong wrote:
> When we're iterating a directory, the loop control code reads the
> length of the next directory record, failing to account for the fact
> that there must be at least 8 bytes (the minimum size of a directory
> entry) left in the buffer to read the next directory record. Fix the
> loop conditional so that we don't read off the end of the buffer.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com>
> Reported-by: Sami Liedes <sami.liedes@....fi>
Applied, thanks.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists