Mailinglist Archive: opensuse-bugs (7783 mails)

< Previous Next >
[Bug 535928] New: opie-2.4-699.9: missing call to fclose
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 1 Sep 2009 06:26:40 -0600
  • Message-id: <bug-535928-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=535928


Summary: opie-2.4-699.9: 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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just had a look at factory package opie-2.4-699.9

For source code file opie-2.4/permsfile.c
around line 150, function permsfile
is the following code

if (!(fh = fopen(HAVE_LOGIN_PERMFILE, "r"))) {

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 >
Follow Ups