[Bug 530375] New: scsirastools-1.5.8-8.4: missing call to closedir
http://bugzilla.novell.com/show_bug.cgi?id=530375 Summary: scsirastools-1.5.8-8.4: 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 scsirastools-1.5.8-8.4 For source code file scsirastools-1.5.8/src/sgcommon.c around line 640 is the source code for the function find_mmdev. I notice the following line of code dirp = opendir (dev_dir); but I fail to notice a matching call to closedir. This looks like a resource leak to me. Suggest add call to closedir. -- 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=530375
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=530375
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=530375#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=530375
User hare@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=530375#c2
Hannes Reinecke
participants (1)
-
bugzilla_noreply@novell.com