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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2005/04/01 18:21:17 UTC

[jira] Assigned: (XERCESC-1389) RegularExpression does not use MemoryManager correctly.

     [ http://issues.apache.org/jira/browse/XERCESC-1389?page=history ]

Alberto Massari reassigned XERCESC-1389:
----------------------------------------

    Assign To: David Bertoni

> RegularExpression does not use MemoryManager correctly.
> -------------------------------------------------------
>
>          Key: XERCESC-1389
>          URL: http://issues.apache.org/jira/browse/XERCESC-1389
>      Project: Xerces-C++
>         Type: Bug
>   Components: Utilities
>     Versions: 2.6.0
>  Environment: All
>     Reporter: David Bertoni
>     Assignee: David Bertoni
>     Priority: Critical
>  Attachments: patch.txt
>
> Under certain circumstances, creating a RegularExpression will result in memory being allocated and potentially de-allocated correctly.  There are two problems:
> 1. Memory is allocated from the global heap for instances of BMPattern.
> 2. Memory for a string is allocated from the global MemoryManager instance, but de-allocated using an instance-specific MemoryManager instance.
> I will attach a patch for the problems.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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