[LU-2281] tunefs.lustre can segfault on reading malformed ost Created: 05/Nov/12  Updated: 07/Nov/12  Resolved: 07/Nov/12

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

Type: Bug Priority: Blocker
Reporter: Nathaniel Clark Assignee: Nathaniel Clark
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 5464

 Description   

If ldiskfs_read_ldd() cannot read mountdata file, it will segfault on trying to fclose() a NULL file pointer.

Found this while fixing LU-2191



 Comments   
Comment by Nathaniel Clark [ 05/Nov/12 ]

http://review.whamcloud.com/4470

Comment by Nathaniel Clark [ 07/Nov/12 ]

Change has been successfully cherry-picked as 32ad9cdf2e99eff52b9241c1f306c45eb19acc62.

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