[Bug 525009] New: FastCGI-2.4.0-138.7: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=525009 Summary: FastCGI-2.4.0-138.7: missing call to fclose 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 FastCGI-2.4.0-138.7 For source code file fcgi-2.4.0/cgi-fcgi/cgi-fcgi.c around line 600 is the source code for the function ParseArgs. I notice the following code if((fp = fopen(argv[i], "r")) == NULL) { but no corresponding matching call to fclose. This looks like a resource leak to me. Suggest add call to fclose 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=525009
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=525009
User mrueckert@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525009#c1
Marcus Rückert
http://bugzilla.novell.com/show_bug.cgi?id=525009
User dcb314@hotmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525009#c2
David Binderman
fixed
I just checked version 2.4.0-138.14 and it doesn't appear to be fixed. This version is out of a recent Factory. Is there a later version somewhere else I should be looking at ? -- 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=525009
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525009#c3
--- Comment #3 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=525009
http://bugzilla.novell.com/show_bug.cgi?id=525009#c4
Marcus Rückert
participants (1)
-
bugzilla_noreply@novell.com