[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141030144534.GC31927@thunk.org>
Date: Thu, 30 Oct 2014 10:45:34 -0400
From: Theodore Ts'o <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: Make ext4_ext_convert_to_initialized() return
proper number of blocks
On Wed, Oct 22, 2014 at 10:29:10AM +0200, Jan Kara wrote:
> ext4_ext_convert_to_initialized() can return more blocks than are
> actually allocated from map->m_lblk in case where initial part of the
> on-disk extent is zeroed out. Luckily this doesn't have serious
> consequences because the caller currently uses the return value
> only to unmap metadata buffers. Anyway this is a data
> corruption/exposure problem waiting to happen so fix it.
>
> Coverity-id: 1226848
> Signed-off-by: Jan Kara <jack@...e.cz>
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