You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2009/04/08 18:24:12 UTC

[jira] Closed: (JSIEVE-49) CPU spins when :matches expression contains "*************"

     [ https://issues.apache.org/jira/browse/JSIEVE-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burrell Donkin closed JSIEVE-49.
---------------------------------------

    Resolution: Fixed

This turned out to be an issue in the Pattern implementation. Added workaround to ensure that several stars are just regex'd as a single one. 

> CPU spins when :matches expression contains "*************"
> -----------------------------------------------------------
>
>                 Key: JSIEVE-49
>                 URL: https://issues.apache.org/jira/browse/JSIEVE-49
>             Project: JAMES jSieve
>          Issue Type: Bug
>          Components: JSieve (Main)
>    Affects Versions: 0.2
>            Reporter: Boris Burtin
>            Assignee: Robert Burrell Donkin
>             Fix For: 0.3
>
>
> A Zimbra customer reported that the mail delivery thread goes into a CPU spin when jSieve evaluates the following rule:
> if anyof (header :matches "from"
> "**********************************************address@yahoo.com" ,
>  header :is "subject" "5" )
> {
>     fileinto "Whatever";
>     stop;
> }
> I'm able to work around the problem by disallowing values that contain more than four asterisks in succession, but this should be  fixed in jSieve.  Here's the link to the Zimbra bug:
> http://bugzilla.zimbra.com/show_bug.cgi?id=35983

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org