[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111120204758.GA14791@thunk.org>
Date: Sun, 20 Nov 2011 15:47:58 -0500
From: Ted Ts'o <tytso@....edu>
To: "Darrick J. Wong" <djwong@...ibm.com>
Cc: linux-ext4 <linux-ext4@...r.kernel.org>
Subject: Re: debugfs: Fix sprintf stack overflow
On Tue, Oct 11, 2011 at 03:02:21PM -0000, Darrick J. Wong wrote:
> The htree dump code overflows a char buffer if the directory has a long
> filename because the buffer is not large enough to hold the characters that are
> not part of the filename. Make the buffer larger and use snprintf instead.
>
> Signed-off-by: Darrick J. Wong <djwong@...ibm.com>
> Reviewed-by: Eric Sandeen <sandeen@...hat.com>
Thanks, applied.
- 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