Mailinglist Archive: opensuse-bugs (6614 mails)

< Previous Next >
[Bug 531000] New: turnpike-0.1.2-2.7: 2 * missing calls to closedir
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 13 Aug 2009 14:05:44 -0600
  • Message-id: <bug-531000-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=531000


Summary: turnpike-0.1.2-2.7: 2 * missing calls 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 turnpike-0.1.2-2.7

For source code file turnpike-0.1.2/VPNClient/CommonUI/CommonUI.c
around line 1240 is the source code for the
function copyProfiles.

I notice the following distinct lines of code

dd = opendir(SYSTEM_PROFILE_PATH);

and

dd = opendir(SYSTEM_VENDOR_PROFILE_PATH);

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

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