bugGNU GRUB - Bugs: bug #33421, resource leak in raid.c

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33421: resource leak in raid.c

Submitted by:  David Volgyes <dvolgyes>
Submitted on:  Sun 29 May 2011 08:02:38 AM UTC  
 
Category: NoneSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: otherReproducibility: None
Planned Release: None

Thu 23 Jun 2011 07:09:11 PM UTC, comment #1:

fixed. thanks.

Vladimir Serbinenko <phcoder>
Project Administrator
Sun 29 May 2011 08:02:38 AM UTC, original submission:

raid.c:83: fd is not closed before "return".
(Found with cppcheck 1.47:
grub-1.99~rc2/util/raid.c:83]: (error) Resource leak: fd)

A patch attached.

David Volgyes <dvolgyes>

 

Attached Files
file #23462:  raid.patch added by dvolgyes (259B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by dvolgyes (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Jun 2011 07:09:11 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 29 May 2011 08:02:38 AM UTCdvolgyesAttached File-=>Added raid.patch, #23462

    Back to the top


    Powered by Savane 3.1-cleanup1