Mailinglist Archive: opensuse-bugs (6630 mails)
< Previous | Next > |
[Bug 530313] New: sane-backends-1.0.20-3.5: missing call to closedir
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 12 Aug 2009 05:41:46 -0600
- Message-id: <bug-530313-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=530313
Summary: sane-backends-1.0.20-3.5: 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: Printing
AssignedTo: jsmeix@xxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: jsmeix@xxxxxxxxxx
Found By: ---
I just had a look at factory package sane-backends-1.0.20-3.5
For source code file sane-backends-1.0.20/tools/sane-desc.c
around line 800 is the source code for the
function read_files.
I notice the following line of code
if ((dir = opendir (search_dir)) == 0)
but I fail to notice a matching call to closedir.
This looks like a resource leak to me. Suggest add call 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.
Summary: sane-backends-1.0.20-3.5: 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: Printing
AssignedTo: jsmeix@xxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: jsmeix@xxxxxxxxxx
Found By: ---
I just had a look at factory package sane-backends-1.0.20-3.5
For source code file sane-backends-1.0.20/tools/sane-desc.c
around line 800 is the source code for the
function read_files.
I notice the following line of code
if ((dir = opendir (search_dir)) == 0)
but I fail to notice a matching call to closedir.
This looks like a resource leak to me. Suggest add call 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 > |