Mailinglist Archive: opensuse-bugs (6597 mails)

< Previous Next >
[Bug 527430] New: libgssglue-0.1-6.51: missing call to fclose
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 2 Aug 2009 11:20:01 -0600
  • Message-id: <bug-527430-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: libgssglue-0.1-6.51: 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 libgssglue-0.1-6.51

For source code file libgssglue-0.1/src/g_initialize.c
around line 280 is the source code for the
function linux_initialize.

I notice the following line of code

if ((conffile = fopen(filename, "r")) == NULL) {

but no matching call to fclose. Suggest add one, to
prevent this memory leak.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >