Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.0
-
None
-
None
-
All
Description
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.