Quota inconsistency when copying > 2GB of mails
    Ewald Dieterich 
    ewald.lists at fun.de
       
    Thu Dec 18 09:45:23 EST 2008
    
    
  
Hi,
in Cyrus 2.3.13, when you do an IMAP COPY of mails with a total size of 
more then 2GB, the quota gets inconsistent because some variables 
overflow (at least on systems where sizeof(int) == 4).
The attached patch changes some data types so that IMAP COPY works 
again, but I'm not sure if this is a proper fix.
I think there is a similar problem in MULTIAPPEND (the total size in 
cmd_append() is declared as unsigned) but I didn't test it.
I filed bug 3127 in bugzilla.
Ewald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-copy-many-2.3.13.patch
Type: text/x-patch
Size: 2899 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20081218/13acabae/attachment.bin 
    
    
More information about the Info-cyrus
mailing list