Package: procps
Version: 1:3.2.1-2
Severity: minor

If the mounting point proc has only "x" instear of "rx" for "others",
top segfault.

>From a gdb session (on sarge)
(gdb) run
Starting program: /home/cate/tmp/procps-3.2.1/top

Program received signal SIGSEGV, Segmentation fault.
0xb7f47baa in readproc () from /lib/libproc.so.3.2.1
(gdb) bt
#0  0xb7f47baa in readproc () from /lib/libproc.so.3.2.1
#1  0x0804b8a6 in procs_refresh (table=0x80580f8, flags=73) at
top.c:1070
#2  0x0804ee66 in summary_show () at top.c:2867
#3  0x0804fec6 in frame_make () at top.c:3216
#4  0x080501d5 in main (dont_care_argc=1, argv=0x804a280) at top.c:3275


Bug ha priority "minor" because is not common to have such permition of
/proc, and the lack of this check (also on other procps programs) should
not add security troubles.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.17.4
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages procps depends on:
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii  libncurses5           5.4-4              Shared libraries for terminal hand

-- no debconf information


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

Reply via email to