Details
-
Bug
-
Resolution: Fixed
-
Major
-
Upstream, Lustre 2.11.0
-
3
-
9223372036854775807
Description
Potential off by two in lmv_fid2path()
We want to concatonate join string one, a '/' character, string two and
then a NUL terminator. The destination buffer holds ori_gf->gf_pathlen
characters. The strlen() function returns the number of characters not
counting the NUL terminator. So we should be adding two extra spaces,
one for the foward slash and one for the NULL..
Attachments
Issue Links
- is related to
-
LU-9679 Prepare lustre for adoption into the linux kernel
-
- Resolved
-