Package: maildir-utils
Version: 0.4-2
Severity: normal

Running mu-index with the --quiet/-q option causes an immediate
segfault. Looking at the source I noticed that a NULL-pointer gets
dereferenced.

File index/mu-index.c:199
++data->_stats->_processed;

With -q _stats is set to NULL. 

I fixed it by adding

 if (data->_stats)
     ++data->_stats->_processed;

I did not add a patch since I do not know if this is the best way to fix
 this problem.
-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-rc5
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages maildir-utils depends on:
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libgcc1                1:4.4.1-2         GCC support library
ii  libglib2.0-0           2.20.4-1          The GLib library of C routines
ii  libgmime-2.0-2a        2.2.22-4          MIME library
ii  libsqlite3-0           3.6.17-2          SQLite 3 shared library
ii  libstdc++6             4.4.1-2           The GNU Standard C++ Library v3
ii  libxapian15            1.0.14-2          Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

maildir-utils recommends no packages.

maildir-utils suggests no packages.

-- no debconf information



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

Reply via email to