Hi Timo,

"quota.c" calls "root->backend.v.init_limits(root)", but "quota_fs.c"
initializes this with NULL. On AIX e.g. this results in core dumping
imap with SIGILL. I've attached a (quick and dirty) patch.

Ralf
-- 
______________________________________________________________________

 Dipl.-Inform. (FH) Ralf Becker     Rechenzentrum (r/ft) der FH Trier
 (Network|Mail|Web|Firewall)           University of applied sciences
 Administrator                           Schneidershof, D-54293 Trier

   Mail: beck...@fh-trier.de                    Fon: +49 651 8103 499
    Web: http://www.fh-trier.de/~beckerr        Fax: +49 651 8103 214
 PubKey: http://www.fh-trier.de/~beckerr     Crypto: GnuPG, S/MIME
______________________________________________________________________

 Wenn Gott gewollt haette, dass E-Mail in HTML geschrieben wuerden,
 endeten Gebete traditionell mit </amen>. (Tom Listen)
--- dovecot-1.2.5/src/plugins/quota/quota.c.org 2009-09-15 20:12:12.000000000 
+0200
+++ dovecot-1.2.5/src/plugins/quota/quota.c     2009-09-15 20:12:27.000000000 
+0200
@@ -444,7 +444,7 @@
        bool found;
 
        if (!root->set->force_default_rule) {
-               if (root->backend.v.init_limits(root) < 0)
+               if (root->backend.v.init_limits && 
root->backend.v.init_limits(root) < 0)
                        return -1;
        }
 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to