[Dovecot] 2.2rc1 doveadm segfault
Stephan Bosch
stephan at rename-it.nl
Sun Jul 4 19:00:48 EEST 2010
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++)
Regards,
Stephan.
More information about the dovecot
mailing list