You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "David Bertoni (JIRA)" <xe...@xml.apache.org> on 2005/06/03 18:26:42 UTC

[jira] Resolved: (XERCESC-1417) RegularExpression has a bug with a static data member

     [ http://issues.apache.org/jira/browse/XERCESC-1417?page=all ]
     
David Bertoni resolved XERCESC-1417:
------------------------------------

    Fix Version: Nightly build (please specify the date)
     Resolution: Fixed

Patch applied.

> RegularExpression has a bug with a static data member
> -----------------------------------------------------
>
>          Key: XERCESC-1417
>          URL: http://issues.apache.org/jira/browse/XERCESC-1417
>      Project: Xerces-C++
>         Type: Bug
>   Components: Utilities
>     Versions: 2.6.0
>     Reporter: David Bertoni
>     Assignee: David Bertoni
>      Fix For: Nightly build (please specify the date)
>  Attachments: patch.txt, patch2.txt
>
> RegularExpression has a static data member fWordRange which is initialized in a way that is not thread-safe.  Also, it does not register a cleanup function, so when the library is terminated, and dangling pointer is left behind.
> A patch is attached for review.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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