commit | 7cb35119d067191ce9ebc380a599db0b03cbd9d9 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Thu Sep 01 11:12:00 2016 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Thu Sep 01 11:12:00 2016 +0200 |
tree | 15168c61d1f884399b4acdb81eb19092e43b453b | |
parent | 0eb45fc3bb7a2cf9c9c93d9e95986a841e5f4625 [diff] |
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>