2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/fs/overlayfs
Miklos Szeredi 8b326c61de ovl: copy_up_xattr(): use strnlen
Be defensive about what underlying fs provides us in the returned xattr
list buffer.  strlen() may overrun the buffer, so use strnlen() and WARN if
the contents are not properly null terminated.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: <stable@vger.kernel.org>
2016-09-16 14:12:11 +02:00
..
copy_up.c ovl: copy_up_xattr(): use strnlen 2016-09-16 14:12:11 +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
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
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: fix workdir creation 2016-09-05 13:55:20 +02:00