Mailinglist Archive: opensuse-bugs (7832 mails)
| < Previous | Next > |
[Bug 535864] New: nh2ps-2.3.1-654.6: missing call to fclose
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 1 Sep 2009 02:20:32 -0600
- Message-id: <bug-535864-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=535864
Summary: nh2ps-2.3.1-654.6: 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: Printing
AssignedTo: jsmeix@xxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: jsmeix@xxxxxxxxxx
Found By: ---
I just had a look at factory package nh2ps-2.3.1-654.6
For source code file nh2ps-2.3.1/nh2ps.c
around line 2010, function print_prologue
is the following code
else if ((f = fopen(prologue, "r")) != NULL) {
but I fail to find a matching call to fclose. This looks like a resource
leak to me. Suggest add call to fclose.
--
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.
Summary: nh2ps-2.3.1-654.6: 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: Printing
AssignedTo: jsmeix@xxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: jsmeix@xxxxxxxxxx
Found By: ---
I just had a look at factory package nh2ps-2.3.1-654.6
For source code file nh2ps-2.3.1/nh2ps.c
around line 2010, function print_prologue
is the following code
else if ((f = fopen(prologue, "r")) != NULL) {
but I fail to find a matching call to fclose. This looks like a resource
leak to me. Suggest add call to fclose.
--
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.
| < Previous | Next > |