Package: mailutils
Version: 1:2.0+dfsg1-1
Severity: normal

$ readmsg -a foo
segfaults, regardless of the search pattern or mailbox contents.
I can also replicate this with a user who has no mailbox file.


Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b8bc23 in valcvt (sdata=0x7fffffffe650, locus=0x613e68, 
tgt=0x611724, type=mu_cfg_bool, val=0x0) at cfg_parser.y:926
926       if (val->type != MU_CFG_STRING)
(gdb) bt
#0  0x00007ffff7b8bc23 in valcvt (sdata=0x7fffffffe650, locus=0x613e68, 
tgt=0x611724, type=mu_cfg_bool, val=0x0) at cfg_parser.y:926
#1  0x00007ffff7b8d83d in parse_param (sdata=0x7fffffffe650, node=0x613e60) at 
cfg_parser.y:1148
#2  0x00007ffff7b8da82 in _scan_tree_helper (node=0x613e60, 
data=0x7fffffffe650) at cfg_parser.y:1202
#3  0x00007ffff7b8ae0c in _mu_cfg_preorder_recursive (node=0x613e60, 
beg=0x7ffff7b8d853 <_scan_tree_helper>, end=0x7ffff7b8dab1 
<_scan_tree_end_helper>, data=0x7fffffffe650) at cfg_parser.y:469
#4  0x00007ffff7b8ae4c in mu_cfg_preorder (node=0x613e60, beg=0x7ffff7b8d853 
<_scan_tree_helper>, end=0x7ffff7b8dab1 <_scan_tree_end_helper>, 
data=0x7fffffffe650) at cfg_parser.y:479
#5  0x00007ffff7b8dc03 in mu_cfg_scan_tree (tree=0x613590, sections=0x613440, 
target=0x0, data=0x7fffffffec6f) at cfg_parser.y:1257
#6  0x00007ffff7b8626f in mu_cfg_tree_reduce (parse_tree=0x613590, 
progname=0x7fffffffec6f "readmsg", progparam=0x60faa0, flags=0, target_ptr=0x0) 
at cfg_driver.c:606
#7  0x0000000000405327 in ?? ()
#8  0x0000000000403939 in ?? ()
#9  0x00007ffff39e75a6 in __libc_start_main (main=0x403830 
<mu_cfg_destroy_t...@plt+872>, argc=3, ubp_av=0x7fffffffea08, init=0x40c270, 
fini=<value optimized out>, rtld_fini=<value optimized out>, 
stack_end=0x7fffffffe9f8) at libc-start.c:222
#10 0x0000000000403509 in ?? ()
#11 0x00007fffffffe9f8 in ?? ()
#12 0x000000000000001c in ?? ()
#13 0x0000000000000003 in ?? ()
#14 0x00007fffffffec66 in ?? ()
#15 0x00007fffffffec77 in ?? ()
#16 0x00007fffffffec7a in ?? ()
#17 0x0000000000000000 in ?? ()
(gdb) frame 1
#1  0x00007ffff7b8d83d in parse_param (sdata=0x7fffffffe650, node=0x613e60) at 
cfg_parser.y:1148
1148        return valcvt (sdata, &node->locus, tgt, clos.type, node->label);
(gdb) print *node
$1 = {next = 0x0, locus = {file = 0x40c72a "command line", line = 0}, type = 
mu_cfg_node_param, tag = 0x613e98 "show-all-match", label = 0x0, node = 0x0}

Frame 1's node->label is the troublesome null pointer in frame 0.



Quirks of my system:
mailutils has been installed with --force-overwrite for #516541

mailutils FTBFS until I commented out the AM_GNU_RADIUS section of configure.ac
(however the reported bug happens with the normal archive package)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable')   (some experimental packages installed too)
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mailutils depends on:
ii  exim4                 4.69-9             metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [m 4.69-9             lightweight Exim MTA (v4) daemon
ii  guile-1.8-libs        1.8.5+1-4.1        Main Guile libraries
ii  libc6                 2.9-3              GNU C Library: Shared libraries
ii  libcomerr2            1.41.3-1           common error description library
ii  libfribidi0           0.10.9-1           Free Implementation of the Unicode
ii  libgcrypt11           1.4.4-2            LGPL Crypto library - runtime libr
ii  libgdbm3              1.8.3-4            GNU dbm database routines (runtime
ii  libgmp3c2             2:4.2.4+dfsg-2     Multiprecision arithmetic library
ii  libgnutls26           2.6.4-2            the GNU TLS library - runtime libr
ii  libgpg-error0         1.4-2              library for common error values an
ii  libgsasl7             0.2.26-2           GNU SASL library
ii  libidn11              1.12-1             GNU Libidn library, implementation
ii  libkrb53              1.6.dfsg.4~beta1-6 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.15-1           OpenLDAP libraries
ii  libltdl3              1.5.26-4           A system independent dlopen wrappe
ii  libmailutils2         1:2.0+dfsg1-1      GNU Mail abstraction library
ii  libmysqlclient15off   5.0.77-1           MySQL database client library
ii  libncurses5           5.7+20090221-1     shared libraries for terminal hand
ii  libntlm0              0.3.13-1           NTLM authentication library
ii  libpam0g              1.0.1-5            Pluggable Authentication Modules l
ii  libreadline5          5.2-3.1            GNU readline and history libraries
ii  libtasn1-3            1.8-1              Manage ASN.1 structures (runtime)
ii  libwrap0              7.6.q-16           Wietse Venema's TCP wrappers libra
ii  zlib1g                1:1.2.3.3.dfsg-12  compression library - runtime

mailutils recommends no packages.

Versions of packages mailutils suggests:
pn  mailutils-mh                  <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to