[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ext4
Subject:    Re: [PATCH 07/54] libext2fs: fix tdb.c mmap leak
From:       Theodore Ts'o <tytso () mit ! edu>
Date:       2015-01-27 16:09:37
Message-ID: 20150127160937.GG2453 () thunk ! org
[Download RAW message or body]

On Mon, Jan 26, 2015 at 11:36:18PM -0800, Darrick J. Wong wrote:
> When undoing an expansion of an mmap'd database while cancelling a
> transaction, the tdb code prematurely decreases the variable that
> tracks the file size, which leads to a region leak during the
> subsequent unmap.  Fix this by maintaining a separate counter for the
> region size.
> 
> (This is probably unnecessary since e2undo was the only user of tdb
> transactions, but I suppose we could be proactive.)
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Applied, thanks.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic