Mailinglist Archive: opensuse-bugs (6630 mails)

< Previous Next >
[Bug 530336] New: sblim-cmpi-syslog-0.7.11-110.9: missing call to fclose
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 12 Aug 2009 06:38:08 -0600
  • Message-id: <bug-530336-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: sblim-cmpi-syslog-0.7.11-110.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 sblim-cmpi-syslog-0.7.11-110.9

For source code file
around line 140 is the source code for the
function Syslog_Service_Operation.

I notice the following line of code

if (system(cmdbuffer)==0 && (fcmdout = fopen(cmdout,"r")) &&

but I fail to notice a matching call to fclose. This looks like a
resource leak to me. Suggest add call to fclose.

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

< Previous Next >