[Dovecot] dovecot -n segfault
Luca Corti
luca at leenoox.net
Tue Jun 26 23:08:50 EEST 2007
On Tue, 2007-06-26 at 22:46 +0300, Uldis Pakuls wrote:
> > Luca
> Are you applied "managesieve" patch? There is bug in
> "master_settings_dump" causing segfault with "dovecot -n"
> look for old posts; few month ago I posted patch here.
Forgot about patching managesieve into dovecot...
> @@ -1536,8 +1584,8 @@
> void master_settings_dump(struct server_settings *set, bool nondefaults)
> {
> - const void *sets[4];
> - const char *set_names[4];
> + const void *sets[5];
> + const char *set_names[5];
> unsigned int count;
> sets[0] = &default_settings;
This fixes the segfault... great, thanks a lot. I think this should go
into the managesieve patchset. CCing its author.
ciao
Luca
More information about the dovecot
mailing list