Tracking bug for static code analysis fixes.
(LU-2753)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0, Lustre 2.1.3 |
| Fix Version/s: | Lustre 2.3.0, Lustre 2.4.0 |
| Type: | Technical task | Priority: | Major |
| Reporter: | Sebastien Buisson (Inactive) | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | build, coverity | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 4437 | ||||||||||||
| Description |
|
Thanks to the Coverity tool, we found some resource leak errors in the Lustre code. This is typically what happens when a function forgets to free some allocated memory or close some file descriptor while returning in case of error. I will propose a patch to address the issues. |
| Comments |
| Comment by Sebastien Buisson (Inactive) [ 11/Sep/12 ] |
|
The patch is available here: http://review.whamcloud.com/3934 Could you please review it? |
| Comment by Peter Jones [ 11/Sep/12 ] |
|
Thanks Sebastien. Bob, another one to take care of - thanks! |
| Comment by Jodi Levi (Inactive) [ 28/Sep/12 ] |
|
Please let me know if this ticket needs to be reopened. |
| Comment by Sebastien Buisson (Inactive) [ 18/Jan/13 ] |
|
Hi, |
| Comment by Sebastien Buisson (Inactive) [ 18/Jan/13 ] |
|
I have posted a new patch: TIA, |
| Comment by Peter Jones [ 18/Jan/13 ] |
|
Rather than reopen this ticket it would be better to open a new ticket to track the changes needed in more recent code. |
| Comment by Sebastien Buisson (Inactive) [ 18/Jan/13 ] |
|
By opening a new ticket, I was afraid that all changes related to this 'resource leak' thing were spread among various tickets, hence making it difficult to track. |
| Comment by Peter Jones [ 18/Jan/13 ] |
|
Yes but we can link tickets together and avoid possible support confusion. The original reported issue was fixed in 2.3. Reopening this ticket in relation to code landed after 2.3 might suggest otherwise. |
| Comment by Sebastien Buisson (Inactive) [ 18/Jan/13 ] |
|
All right. |