[Bug 527725] New: mjpegtools-1.9.0-2.18: 2 * missing calls to fclose
http://bugzilla.novell.com/show_bug.cgi?id=527725 Summary: mjpegtools-1.9.0-2.18: 2 * missing calls 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 mjpegtools-1.9.0-2.18 1. For source code file mjpegtools-1.9.0/lavtools/pipelist.c around line 40 is the source code for the function read_pipe_list. I notice the following line of code fd = fopen (name, "r"); but I fail to find a matching call to fclose. This seems to be a resource leak. Suggest code rework, possibly by adding call to fclose. 2. In the same file, for function write_pipe_list, similar problems for local variable fd. -- 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=527725
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=527725
Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=527725
User puzel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527725#c1
Petr Uzel
participants (1)
-
bugzilla_noreply@novell.com