On Fri, 14 Jun 2019 at 15:46, Jeff Layton wrote:
> kcephfs has several "virtual" xattrs that return strings that are
> currently populated using snprintf(), which always NULL terminates the
> string.
>
> This leads to the string being truncated when we use a buffer length
> acquired by calling get
kcephfs has several "virtual" xattrs that return strings that are
currently populated using snprintf(), which always NULL terminates the
string.
This leads to the string being truncated when we use a buffer length
acquired by calling getxattr with a 0 size first. The last character
of the string e
2 matches
Mail list logo