[Bug 524202] New: dmraid-1.0.0.rc15-4.32: possible missing call to closedir
http://bugzilla.novell.com/show_bug.cgi?id=524202 Summary: dmraid-1.0.0.rc15-4.32: possible 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 dmraid-1.0.0.rc15-4.32 For source code file dmraid/1.0.0.rc15/libdmraid-events/libdmraid-events.c, around line 141 is the source code for the function _repopulate. I notice the following code if((dir = opendir(test_path))) but no matching call to closedir. This looks like a resource leak to me. Suggest code rework. -- 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=524202
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=524202
User dcb314@hotmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=524202#c1
David Binderman
http://bugzilla.novell.com/show_bug.cgi?id=524202
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=524202#c2
--- Comment #2 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=524202
http://bugzilla.novell.com/show_bug.cgi?id=524202#c
Hendrik Vogelsang
http://bugzilla.novell.com/show_bug.cgi?id=524202
http://bugzilla.novell.com/show_bug.cgi?id=524202#c
Jiri Kosina
http://bugzilla.novell.com/show_bug.cgi?id=524202
http://bugzilla.novell.com/show_bug.cgi?id=524202#c3
Neil Brown
http://bugzilla.novell.com/show_bug.cgi?id=524202
http://bugzilla.novell.com/show_bug.cgi?id=524202#c4
Neil Brown
participants (1)
-
bugzilla_noreply@novell.com