Mailinglist Archive: opensuse-bugs (10598 mails)

< Previous Next >
[Bug 543458] New: fontforge-20090622-1.6: missing call to closedir
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 1 Oct 2009 06:10:48 -0600
  • Message-id: <bug-543458-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=543458


Summary: fontforge-20090622-1.6: missing call to closedir
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 fontforge-20090622-1.6
source code file fontforge-20090622/fontforge/sfd.c
function SFDGetBitmapFont
local variable dir.

I notice the following code

dir = opendir(dirname);

but I fail to notice any matching call to closedir. This looks like a
resource leak to me. Suggest add a call to closedir 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 >