[LU-12392] gcc8 can't build lfs.c Created: 05/Jun/19  Updated: 25/Nov/19  Resolved: 25/Nov/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0

Type: Bug Priority: Trivial
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

because size of the buffer (mntdir) is specified incorrectly:
strncpy(mntdir, dname, sizeof(mntdir));



 Comments   
Comment by Gerrit Updater [ 05/Jun/19 ]

Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35070
Subject: LU-12392 utils: specific correct size for the buffre
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2fb14f4a4a90677bc92fdcf24c7c1bfb38993d81

Comment by James A Simmons [ 05/Jun/19 ]

I suspect this will be the case until RHEL8 clients are enabled for at least test builds.

Comment by Alex Zhuravlev [ 05/Jun/19 ]

that's fine, not a big problem.

Comment by Gerrit Updater [ 21/Jun/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35070/
Subject: LU-12392 utils: specify correct size for the buffer
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7babde7afc54712c5e62d8cf47ab2481a0efc598

Comment by James A Simmons [ 24/Jun/19 ]

Resolved now?

Generated at Sat Feb 10 02:52:11 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.