diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-01 09:12:00 (GMT) |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-01 09:12:00 (GMT) |
commit | 7cb35119d067191ce9ebc380a599db0b03cbd9d9 (patch) | |
tree | 15168c61d1f884399b4acdb81eb19092e43b453b /block | |
parent | 0eb45fc3bb7a2cf9c9c93d9e95986a841e5f4625 (diff) | |
download | linux-7cb35119d067191ce9ebc380a599db0b03cbd9d9.tar.xz |
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 'block')
0 files changed, 0 insertions, 0 deletions