[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131202180337.GA6200@thunk.org>
Date: Mon, 2 Dec 2013 13:03:37 -0500
From: Theodore Ts'o <tytso@....edu>
To: Kit Westneat <kwestneat@....com>
Cc: "linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>,
"Dilger, Andreas" <andreas.dilger@...el.com>
Subject: Re: [PATCH] e2image: double free when restoring image
On Wed, Nov 27, 2013 at 04:32:38PM -0500, Kit Westneat wrote:
> Hello,
>
> I've been running into a double free when trying to apply an e2image to a
> loopback device:
It looks like there are a number of memory pointer overruns which
valgrind is finding, not just the one you have pointed out. Thanks
for pointing out this issue.
For this particular case, it's probably better to set
new_io->block_size to fs->blocksize; I'll send out some patches to fix
these issues, and very clearly we need to add some regression tests to
catch these in the future.
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