Re: [PATCH 08/10] e2fsck: validate the targets of extent-based symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 02, 2018 at 04:59:21PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
> 
> e2fsck is validating the target (requiring that it be NUL-terminated at
> i_size, or something a bit different for encrypted symlinks) of slow
> symlinks that use a traditional block list but not ones that use an
> extent tree.  As far as I can tell this is simply a bug: there's no
> reason for the representation of the block list to affect how the
> symlink target is validated.  And either way the kernel won't create
> symlinks with embedded NULs and will always add a terminating NUL.
> 
> Thus, make e2fsck_pass1_check_symlink() start validating the targets of
> extent-based symlinks.
> 
> Fixes: 7cadc57780f3 ("e2fsck: Support long symlinks which use extents")
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>

Thanks, applied.

					- Ted



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux