lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150216154042.GD16560@thunk.org>
Date:	Mon, 16 Feb 2015 10:40:42 -0500
From:	Theodore Ts'o <tytso@....edu>
To:	"Darrick J. Wong" <darrick.wong@...cle.com>
Cc:	linux-ext4@...r.kernel.org
Subject: Re: [PATCH 19/54] e2fsck: salvage under-sized dirents by removing
 them

On Mon, Jan 26, 2015 at 11:37:37PM -0800, Darrick J. Wong wrote:
> If the directory processing code ends up pointing to a directory entry
> that's so close to the end of the block that there's not even space
> for a rec_len/name_len, just substitute dummy values that will force
> e2fsck to extend the previous entry to cover the remaining space.  We
> can't use the helper methods to extract rec_len because that's reading
> off the end of the buffer.
> 
> This isn't an issue with non-inline directories because the directory
> check buffer is zero-extended so that fsck won't blow up.
> 
> 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ