[ http://issues.apache.org/jira/browse/XERCESC-1389?page=history ]
David Bertoni updated XERCESC-1389:
-----------------------------------
Attachment: patch.txt
If someone else could review the patch, I would appreciate it. Also, I do not
yet have permissions to assign issues, so someone who does will need to assign
this to me.
> 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
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]