[LU-6406] prevent stack overrun in some tests Created: 26/Mar/15  Updated: 30/Jul/15  Resolved: 30/Jul/15

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

Type: Bug Priority: Minor
Reporter: Frank Zago (Inactive) Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

A Lustre filesystem name is up to 8 characters, plus 1 for the NUL terminator. If a filesystem name is 8 characters, then the llapi_layout_test, llapi_hsm_test and llapi_fid_test will scribble their stack or overrun it.



 Comments   
Comment by Gerrit Updater [ 26/Mar/15 ]

frank zago (fzago@cray.com) uploaded a new patch: http://review.whamcloud.com/14213
Subject: LU-6406 tests: fix stack overrun in 3 tests
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6b45e3780330efc5aafd66c3e6850c88762e2a44

Comment by Gerrit Updater [ 11/May/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14213/
Subject: LU-6406 tests: fix undersized fsname and FID strings
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fe2356bf5f9da5fe5800e7ec014e81f52e787dce

Comment by Frank Zago (Inactive) [ 30/Jul/15 ]

This bug is resolved now. Can it be closed?

Comment by Peter Jones [ 30/Jul/15 ]

Yes. Thanks for drawing attention to this

Generated at Sat Feb 10 01:59:57 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.