On Mar 29, 2005, at 12:25 PM, David Bertoni (JIRA) wrote:

[ 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.

Hi David,

I can neither choose you as an assignee, nor figure out how to add you as an assignee. I believe Neil may have the permissions to do so.

Neil?

-jdb


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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to