diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-01 11:12:00 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-01 11:12:00 +0200 |
commit | 7cb35119d067191ce9ebc380a599db0b03cbd9d9 (patch) | |
tree | 15168c61d1f884399b4acdb81eb19092e43b453b /Documentation/filesystems/00-INDEX | |
parent | ovl: Switch to generic_getxattr (diff) | |
download | linux-7cb35119d067191ce9ebc380a599db0b03cbd9d9.tar.xz linux-7cb35119d067191ce9ebc380a599db0b03cbd9d9.zip |
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>
Diffstat (limited to 'Documentation/filesystems/00-INDEX')
0 files changed, 0 insertions, 0 deletions