Mailinglist Archive: opensuse-bugs (10715 mails)
| < Previous | Next > |
[Bug 543763] New: gnuboy-1.0.3-1061.9: missing call to close
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Fri, 2 Oct 2009 06:07:30 -0600
- Message-id: <bug-543763-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=543763
Summary: gnuboy-1.0.3-1061.9: 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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
I just had a look at factory package gnuboy-1.0.3-1061.9
source code file gnuboy-1.0.3/sys/nix/map.c
function map_rom
local variable fd.
I notice the following code
fd = open(romfile, O_READ);
but I fail to notice any matching call to close. This looks like a
resource leak to me. Suggest add a call to close near the end of the
block to plug 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.
Summary: gnuboy-1.0.3-1061.9: 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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
I just had a look at factory package gnuboy-1.0.3-1061.9
source code file gnuboy-1.0.3/sys/nix/map.c
function map_rom
local variable fd.
I notice the following code
fd = open(romfile, O_READ);
but I fail to notice any matching call to close. This looks like a
resource leak to me. Suggest add a call to close near the end of the
block to plug 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.
| < Previous | Next > |