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/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub