[Dovecot] 2.0.rc1 doveadm segfault Was: 2.2rc1 doveadm segfault
Mark Sapiro
mark at msapiro.net
Sun Jul 4 20:17:32 EEST 2010
Stephan Bosch wrote:
>Mark Sapiro wrote:
>> [root at sbh16 ~]# doveadm help
>> Segmentation fault (core dumped)
>> [root at sbh16 ~]# gdb /usr/local/bin/doveadm core.28104
>> [...]
>> (gdb) bt full
>
>This patch fixes things for me:
>
>diff -r 4a4f7add34d9 src/lib/module-dir.c
>--- a/src/lib/module-dir.c Sat Jul 03 15:53:54 2010 +0100
>+++ b/src/lib/module-dir.c Sun Jul 04 17:58:59 2010 +0200
>@@ -252,6 +252,9 @@
> {
> unsigned int i, j;
>
>+ if ( module_names[0] == NULL )
>+ return;
>+
> /* allow giving the module names also in non-base form.
> convert them in here. */
> for (i = 0; module_names[i] != NULL; i++)
>
Thank you. It works for me too. (sorry about the typo in the original
subject).
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the dovecot
mailing list