bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33421] resource leak in raid.c


From: David Volgyes
Subject: [bug #33421] resource leak in raid.c
Date: Sun, 29 May 2011 08:02:39 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

URL:
  <http://savannah.gnu.org/bugs/?33421>

                 Summary: resource leak in raid.c
                 Project: GNU GRUB
            Submitted by: dvolgyes
            Submitted on: Sun 29 May 2011 08:02:38 AM GMT
                Category: None
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: other
         Reproducibility: None
         Planned Release: None

    _______________________________________________________

Details:

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.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 29 May 2011 08:02:38 AM GMT  Name: raid.patch  Size: 259B   By:
dvolgyes

<http://savannah.gnu.org/bugs/download.php?file_id=23462>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33421>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]