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 "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2018/03/12 02:32:00 UTC

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

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

Scott Cantor closed XERCESC-1417.
---------------------------------

> RegularExpression has a bug with a static data member
> -----------------------------------------------------
>
>                 Key: XERCESC-1417
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1417
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.6.0
>            Reporter: David Bertoni
>            Assignee: David Bertoni
>            Priority: Major
>             Fix For: 2.7.0
>
>         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 was sent by Atlassian JIRA
(v7.6.3#76005)

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