Dependency Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001569 | SOGo | Web Preferences | public | 2012-01-04 12:13 | 2012-03-29 12:51 |
Reporter | polymorf | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.11 | ||||
Summary | 0001569: Sieve script maximum length | ||||
Description | When saving Preférences with a too big generated sieve script SOGO die with signal 11. Easy reproductible with a Vacation message adding charaters one by one, the biggest generated script without error is 1024 characters length : wc -c /xxxx/sieve/sogo.sieve Can't add one more characters without error. I use sogo-1.3.11 on FreeBSD with dovecot-managesieve-0.11.13 | ||||
Tags | No tags attached. | ||||
I don't have this issue with Cyrus so it must be something wrong with Dovecot. Try to sniff the managesieve traffic between SOGo and Dovecot when you try to save your large vacation message. |
|
interface: lo0 T XXX.XXX.XXX.XXX:2000 -> XXX.XXX.XXX.XXX:50061 [AP] T XXX.XXX.XXX.XXX:50061 -> XXX.XXX.XXX.XXX:2000 [AP] T XXX.XXX.XXX.XXX:50061 -> XXX.XXX.XXX.XXX:2000 [AP] SOGo die with signal 11 after this. |
|
Install the SOPE, SOGo and GNUstep debugging symbols, run SOGo with only one process, attach to it using GDB and produce a stacktrace when it crashes. |
|
The stacktrace is as follow : Program received signal SIGSEGV, Segmentation fault. |
|
Switch from lengthOfBytesUsingEncoding to length in SOPE sope-mime/NGImap4/NGSieveClient.m fix this issue. |
|
2012-03-28 18:20
|
NGSieveClient.patch (500 bytes)
--- sope-mime/NGImap4/NGSieveClient.m.orig 2012-03-28 20:04:02.000000000 +0200 +++ sope-mime/NGImap4/NGSieveClient.m 2012-03-28 20:09:34.000000000 +0200 @@ -506,7 +506,7 @@ s = [s stringByAppendingString:_name]; s = [s stringByAppendingString:@"\" "]; s = [s stringByAppendingFormat:@"{%d+}\r\n%@", - [_script lengthOfBytesUsingEncoding: NSUTF8StringEncoding], + [_script length], _script]; map = [self processCommand:s]; return [self normalizeResponse:map]; |
This is not a SOGo/SOPE bug this bug was fixed in GNUStep revision 32434. This issue can be close, Thanks |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-04 12:13 | polymorf | New Issue | |
2012-01-30 19:38 | ludovic | Note Added: 0003342 | |
2012-01-30 19:38 | ludovic | Severity | major => minor |
2012-01-31 10:24 | polymorf | Note Added: 0003346 | |
2012-02-08 20:17 | ludovic | Note Added: 0003395 | |
2012-02-24 10:21 | polymorf | Note Added: 0003481 | |
2012-03-28 18:19 | polymorf | Note Added: 0003667 | |
2012-03-28 18:20 | polymorf | File Added: NGSieveClient.patch | |
2012-03-28 20:58 | polymorf | Note Added: 0003668 | |
2012-03-29 12:51 | ludovic | Status | new => closed |
2012-03-29 12:51 | ludovic | Resolution | open => fixed |