Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
/home/shaun/lustre-wc-rel/lustre/mgs/mgs_llog.c:1539:2: note: ‘sprintf’ output between 9 and 10 bytes into a destination of size 9 sprintf(mdt_index, "-MDT%04x", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shaun/lustre-wc-rel/lustre/mgs/mgs_llog.c:1539:30: error: ‘sprintf’ may write a terminating nul past the end of the destination [-Werror=format-overflow=] sprintf(mdt_index, "-MDT%04x", i);
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43321/
Subject:
LU-12999mgs: Cleanup string handling in name_create_mdtProject: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: f7a59078e3c37d25b22f90e158f737e26a320b5a