[Bug 525055] New: firmwarekit-3-45.10: missing call to closedir
http://bugzilla.novell.com/show_bug.cgi?id=525055 Summary: firmwarekit-3-45.10: missing call to closedir Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package firmwarekit-3-45.10 For source code file linuxfirmwarekit/edd/edd.c around line 180 is the source code for the function iterate_block. I notice the following code dir = opendir("/sys/block"); but no corresponding matching calls to closedir. This looks like a resource leak to me. Suggest add calls to closedir to close the leak. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=525055
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=525055
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525055#c1
Thomas Renninger
http://bugzilla.novell.com/show_bug.cgi?id=525055
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525055#c2
Thomas Renninger
participants (1)
-
bugzilla_noreply@novell.com