Package: lcdproc
Version: 0.4.5-1
Severity: normal

File descriptor meminfo_fd not closed in mem_close().
See clients/lcdproc/mem.c on line 132.

diff file would go like:

--- mem.c_ORG   2004-05-19 13:27:58.000000000 +0200
+++ mem.c       2006-03-05 20:50:04.000000000 +0100
@@ -129,7 +129,7 @@
 {
 #ifndef SOLARIS
        if (meminfo_fd)
-               meminfo_fd = open ("/proc/meminfo", O_RDONLY);
+               close (meminfo_fd);
 
        meminfo_fd = 0;
 
Greetings
Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages lcdproc depends on:
ii  debconf     1.4.70     Debian configuration management sy
ii  libc6       2.3.5-13   GNU C Library: Shared libraries an
ii  libncurses5 5.5-1      Shared libraries for terminal hand
ii  libsvga1    1:1.4.3-22 console SVGA display libraries

lcdproc recommends no packages.

-- no debconf information


-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to