[ http://issues.apache.org/jira/browse/XERCESC-1358?page=history ]
     
Gareth Reakes resolved XERCESC-1358:
------------------------------------

    Resolution: Fixed

No problem David. Will open different bug to track modulus.

> RefHashTableOf::rehash() is not exception-safe
> ----------------------------------------------
>
>          Key: XERCESC-1358
>          URL: http://issues.apache.org/jira/browse/XERCESC-1358
>      Project: Xerces-C++
>         Type: Bug
>   Components: Utilities
>     Versions: 2.6.0
>  Environment: All
>     Reporter: David Bertoni
>     Assignee: Gareth Reakes
>  Attachments: patch.txt
>
> RefHashTableOf::rehash() modifies its data member in the course of rehashing. 
>  If an exception is thrown during this member function, the object is in an 
> inconsistent state, which will cause problems when it is destroyed.  Also, 
> there is a chance that memory will leak.
> I will provide a patch which does not modify the data members until the 
> rehashing has complete.  It also fixes the potential memory leak.

-- 
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]

Reply via email to