Mailinglist Archive: opensuse-bugs (6633 mails)

< Previous Next >
[Bug 534769] New: idzebra-2.0.37-1.10: missing call to close
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 27 Aug 2009 06:38:52 -0600
  • Message-id: <bug-534769-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=534769


Summary: idzebra-2.0.37-1.10: 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 idzebra-2.0.37-1.10

For source code file idzebra-2.0.37/index/zebrasrv.c
around line 750, function bend_start
is the following code

fd = open(pidfname, O_EXCL|O_WRONLY|O_CREAT, 0666);

but I fail to find any matching call to close.

This looks like a resource leak to me. Suggest add call
to close.

--
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 >
This Thread
  • No further messages