bug-grub
[Top][All Lists]
Advanced

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

[bug #33425] resource/memory leaks in reed_solomon.c


From: David Volgyes
Subject: [bug #33425] resource/memory leaks in reed_solomon.c
Date: Sun, 29 May 2011 08:43:57 +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/?33425>

                 Summary: resource/memory leaks in reed_solomon.c
                 Project: GNU GRUB
            Submitted by: dvolgyes
            Submitted on: Sun 29 May 2011 08:43:56 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: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:


There are several leaks in reed_solomon.c
(Found by cppcheck 1.47)

A patch is submitted for this bug (line#525) :
[grub-1.99~rc2/grub-core/lib/reed_solomon.c:525]: (error) Resource leak: in

These are leaks, but I do not know the code deeply enough to make a patch for
these:

[grub-1.99~rc2/grub-core/lib/reed_solomon.c:284]: (error) Memory leak: sigma
[grub-1.99~rc2/grub-core/lib/reed_solomon.c:284]: (error) Memory leak: errpot
[grub-1.99~rc2/grub-core/lib/reed_solomon.c:284]: (error) Memory leak: errpos
[grub-1.99~rc2/grub-core/lib/reed_solomon.c:284]: (error) Memory leak: sy
[grub-1.99~rc2/grub-core/lib/reed_solomon.c:284]: (error) Memory leak: eq




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 29 May 2011 08:43:56 AM GMT  Name: reed_solomon525.patch  Size: 373B
  By: dvolgyes

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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