Mailinglist Archive: opensuse-bugs (6597 mails)

< Previous Next >
[Bug 527425] New: libcdaudio-0.99.12-141.1: missing call to closedir
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 2 Aug 2009 10:43:48 -0600
  • Message-id: <bug-527425-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: libcdaudio-0.99.12-141.1: 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: Sound
AssignedTo: tiwai@xxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---

I just had a look at factory package libcdaudio-0.99.12-141.1

For source code file libcdaudio-0.99.12/src/coverart.c
around line 310 is the source code for the
function coverart_read_data.

I notice the following line of code

if((coverart_dir = opendir(root_dir)) == NULL)

but no matching call to closedir - suggest add one to
prevent a resource leak.

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

< Previous Next >