Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Lustre 2.12.0
-
None
-
3
-
9223372036854775807
Description
mdd_migrate() allocate 'la_size + 1' for symlink target name, the extra '+1' is a mistake, which will cause read beyond range fault: if target name is 59 bytes long, then it will try to read target name from external block other than inline i_block[15], that's why when target name is shorter than 59 it won't cause any problem.
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38112/
Subject:
LU-13157mdd: migrate readlink from wrong placeProject: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 6b105dcf5bd3b06881c54a1c5e877cebefc9b67c