The segmentation fault occurs when index++ decodes a non-base64 part of the email text using its base64 decoder. This can happen when a header field is in a multi-line representation which contains a non-null whitespace-only line. index++ misinterprets this type of line as the end of the last header. If the content-transfer-encoding is base64, index++ starts to decode the rest of the header part as in base64 even if it is plain text.
The attached patch fixes this problem by modifying the header parser so that it correctly detects the end of the last header. ** Patch added: "swish++-6.1.5.diff" https://bugs.launchpad.net/ubuntu/+source/swish++/+bug/911233/+attachment/2667431/+files/swish%2B%2B-6.1.5.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/911233 Title: index++ crashed with SIGSEGV, indexing an email encoded in base64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swish++/+bug/911233/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs