[Bug 544454] New: openvas-client-2.0.4-1.6: missing call to close
http://bugzilla.novell.com/show_bug.cgi?id=544454 Summary: openvas-client-2.0.4-1.6: missing call to close 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 openvas-client-2.0.4-1.6 source code file openvas-client-2.0.4/nessus/read_target_file.c function target_file_to_list local variable fd I notice the following code HANDLE fd = open(filename, O_RDONLY); but I fail to find a matching call to close. This looks like a resource leak to me. Suggest add call to close near the end of the function. -- 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=544454
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=544454
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544454#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=544454
http://bugzilla.novell.com/show_bug.cgi?id=544454#c2
Vladimir Nadvornik
participants (1)
-
bugzilla_noreply@novell.com