Re: [PATCH] ext4: check for NUL characters in extended attribute's name

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

 



On Mon, Jul 30, 2018 at 11:30:30PM -0400, Theodore Ts'o wrote:
> Extended attribute names are defined to be NUL-terminated, so the name
> must not contain a NUL character.  This is important because there are
> places when remove extended attribute, the code uses strlen to
> determine the length of the entry.  That should probably be fixed at
> some point, but code is currently really messy, so the simplest fix
> for now is to simply validate that the extended attributes are sane.
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=200623

Oops, sorry, wrong bug.  That should have read:

    https://bugzilla.kernel.org/show_bug.cgi?id=200401

I'll fix this in my tree.

				- 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