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/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to