Skip to content
Snippets Groups Projects
Commit 7cb35119 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@redhat.com>
Cc: <stable@vger.kernel.org>
parent 0eb45fc3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment