Package: menu
Version: 2.1.25
Severity: important

Hello,

update-menus searches for menu entries on various directories. However,
when run by a normal user (e.g. not root), all of the directories seen
must either non-existent or readable (e.g. not "chmod a-r $dir"). When a
directory exists *and* is not readable it segfaults.

For example:
1) If I don't have the directory ~/.menu, it goes thru the rest of the
process successfully.
2) If I have it empty, it also succeds.
3) If I have it with any number of entries, all fine.
4) If I have but with no read permission (---, --x, -w- or -wx), it
segfaults:
$ LC_ALL=C update-menus -v
update-menus[15506]: Update-menus is run by user.
update-menus[15506]: Dpkg is not locking dpkg status area, good.
update-menus[15506]: Reading installed packages list...
update-menus[15506]: Reading menu-entry files in /home/felipe/.menu/.
Segmentation fault

I've tried to remove read permissions on all the directories it looks,
and it segfaulted in all of them. Note that this problem doesn't happen
when it's runned by root.

Well, that's it, please contact me if you can't reproduce the problem,
Felipe.

-- System Information:
Debian Release: testing/unstable
  APT prefers experimental
  APT policy: (901, 'experimental'), (900, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-ck6
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pt_BR.UTF-8)

Versions of packages menu depends on:
ii  dpkg                         1.13.11.0.1 package maintenance system for Deb
ii  libc6                        2.3.5-6     GNU C Library: Shared libraries an
ii  libgcc1                      1:4.0.2-1   GCC support library
ii  libstdc++5                   1:3.3.6-10  The GNU Standard C++ Library v3

menu recommends no packages.

-- no debconf information


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

Reply via email to