Mailinglist Archive: opensuse-bugs (6633 mails)

< Previous Next >
[Bug 535718] New: mtools-4.0.10-3.16: missing call to close
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 31 Aug 2009 12:55:28 -0600
  • Message-id: <bug-535718-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=535718


Summary: mtools-4.0.10-3.16: 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: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just had a look at factory package mtools-4.0.10-3.16

For source code file mtools-4.0.10/mformat.c
around line 1160, function mformat
is the following code

fd = open(bootSector, O_RDONLY | O_BINARY | O_LARGEFILE);

but I fail to find a 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