Don't limit Sieve script to 8KB

Fixes #2745
pull/37/merge
Francis Lachapelle 2014-04-30 12:35:25 -04:00
parent 8c563c2922
commit 4e42a6a689
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -21,6 +21,7 @@ Bug fixes
- fixed incorrect XML data conversion with ActiveSync (#2695) - fixed incorrect XML data conversion with ActiveSync (#2695)
- fixed display of events having a category with HTML entities (#2703) - fixed display of events having a category with HTML entities (#2703)
- fixed display of images in CSS background (#2437) - fixed display of images in CSS background (#2437)
- fixed limitation of Sieve script size (#2745)
2.2.3 (2014-04-03) 2.2.3 (2014-04-03)
------------------ ------------------

View File

@ -584,7 +584,7 @@ static NSString *sieveScriptName = @"sogo";
int count, max; int count, max;
NSDictionary *currentScript; NSDictionary *currentScript;
sieveScript = [NSMutableString stringWithCapacity: 8192]; sieveScript = [NSMutableString string];
ASSIGN (requirements, newRequirements); ASSIGN (requirements, newRequirements);
[scriptError release]; [scriptError release];