[LU-7999] Object 'uuids' was freed at line 1895 after being freed by calling 'realloc' at line 1892 Created: 08/Apr/16  Updated: 03/May/16  Resolved: 03/May/16

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

Type: Bug Priority: Minor
Reporter: Dmitry Eremin (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: kw

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

TRACEBACK

  • A condition which occurs, leading to the defect liblustreapi.c:1878: ret!=0 is false
  • A condition which occurs, leading to the defect liblustreapi.c:1883: uuids== ( (void* )0) is false
  • An event which alters the program's state, leading to the defect liblustreapi.c:1892: 'uuids' is freed by calling 'realloc'.
  • An event which alters the program's state, leading to the defect liblustreapi.c:1895: 'uuids' is double freed by calling 'free'.


 Comments   
Comment by Gerrit Updater [ 08/Apr/16 ]

Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/19409
Subject: LU-7999 utils: fix double free the pointer
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4672889fb4bcc3befdbf94ca694a80724dd6396f

Comment by Gerrit Updater [ 03/May/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19409/
Subject: LU-7999 utils: fix double free the pointer
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2ada939e5aad7d381bee7894aa3a258cf317e95d

Comment by Joseph Gmitter (Inactive) [ 03/May/16 ]

Landed to master for 2.9.0

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