https://github.com/torvalds/linux
Revision 7cb35119d067191ce9ebc380a599db0b03cbd9d9 authored by Miklos Szeredi on 01 September 2016, 09:12:00 UTC, committed by Miklos Szeredi on 01 September 2016, 09:12:00 UTC
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>
1 parent 0eb45fc
History
Tip revision: 7cb35119d067191ce9ebc380a599db0b03cbd9d9 authored by Miklos Szeredi on 01 September 2016, 09:12:00 UTC
ovl: listxattr: use strnlen()
Tip revision: 7cb3511

back to top