Re: [PATCH 03/10] e2fsck: fix reading fscrypt_symlink_data.len

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

 



On Fri, Mar 02, 2018 at 04:59:16PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
> 
> The ciphertext length field stored at the beginning of encrypted symlink
> targets is 16-bit.  But e2fsck_pass1_check_symlink() is reading it as
> 32-bit.  This was apparently left over from an earlier on-disk format
> that was not merged.  Fix it.
> 
> This bug caused a small proportion of encrypted symlinks with 4092-byte
> targets to be considered invalid by e2fsck, but otherwise had no effect.
> 
> Fixes: 62ad24802c6e ("e2fsck: handle encrypted directories which are indexed using htree")
> 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