[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141105161253.GC27083@thunk.org>
Date: Wed, 5 Nov 2014 11:12:53 -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 17/39] e2fsck: fix dangling pointer when dir_info array
is resized
On Sat, Oct 25, 2014 at 01:58:12PM -0700, Darrick J. Wong wrote:
> e2fsck uses an array to store directory usage information during pass
> 3; the usage context also contains a pointer to the last directory
> looked up. When expanding the dir_info array, this cache pointer
> needs to be cleared if the array resize changed the pointer location,
> or else we'll later walk off the end of this dead pointer.
>
> 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