[LU-11899] Possible resource/memory leaks Created: 29/Jan/19  Updated: 06/Feb/19  Resolved: 06/Feb/19

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

Type: Bug Priority: Minor
Reporter: Thomas Stibor Assignee: Thomas Stibor
Resolution: Fixed Votes: 0
Labels: None
Environment:

Debian GNU/Linux 9.7 (stretch) 4.9.0-8-amd64


Epic/Theme: patch
Severity: 1
Rank (Obsolete): 9223372036854775807

 Description   

Check with static checker

cppcheck --enable=all --inconclusive --xml-version=2 --force --library=posix,gnu . 2> /tmp/result.xml

revealed two possible resource/memory leaks due to improper error handling in

lfs_project.c:93

and

lsupport.c:249


 Comments   
Comment by Gerrit Updater [ 29/Jan/19 ]

Thomas Stibor (t.stibor@gsi.de) uploaded a new patch: https://review.whamcloud.com/34129
Subject: LU-11899 utils: Possible resource/memory leaks
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8118e2c733b721ce6343137b76718044d9966a71

Comment by Gerrit Updater [ 06/Feb/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34129/
Subject: LU-11899 utils: Possible resource/memory leaks
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d8f962242020ad781c272120125fb44ac6c37951

Comment by Peter Jones [ 06/Feb/19 ]

Landed for 2.13

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