[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141117230020.GF9693@thunk.org>
Date: Mon, 17 Nov 2014 18:00:20 -0500
From: Theodore Ts'o <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH 06/47] libext2fs: don't allow alloc_stats on bad
inode/block numbers
On Fri, Nov 07, 2014 at 01:51:21PM -0800, Darrick J. Wong wrote:
> Don't allow callers to feed bad block/inode numbers to
> ext2fs_*_alloc_stats2, because evil callers (<cough>resize2fs<cough>)
> can corrupt library state this way, leading to a crash.
>
> (There will be a subsequent patch to resize2fs to fix its bad
> behavior.)
>
> Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com>
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