OpenCloudOS-Kernel/fs/overlayfs
Miklos Szeredi 7cb35119d0 ovl: listxattr: use strnlen()
Be defensive about what underlying fs provides us in the returned xattr
list buffer.  If it's not properly null terminated, bail out with a warning
insead of BUG.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: <stable@vger.kernel.org>
2016-09-01 11:12:00 +02:00
..
Kconfig ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
Makefile ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
copy_up.c ovl: don't copy up opaqueness 2016-08-08 15:08:49 +02:00
dir.c ovl: Switch to generic_getxattr 2016-09-01 11:12:00 +02:00
inode.c ovl: listxattr: use strnlen() 2016-09-01 11:12:00 +02:00
overlayfs.h ovl: Switch to generic_getxattr 2016-09-01 11:12:00 +02:00
readdir.c ovl: proper cleanup of workdir 2016-09-01 11:11:59 +02:00
super.c ovl: Switch to generic_getxattr 2016-09-01 11:12:00 +02:00