- Status: pending --> closed
The member TXRegistry::Key, accessed by TXRegistry::GetKey, is a potentially dangling pointer.
This issue was fixed in Owlet [r4802], and the fix has been merged into the trunk [r4821].
Resolution: Replaced LPCTSTR Key by tstring KeyName. The accessor GetKey has been renamed GetKeyName, to be explicit.
Note: The fix makes further changes. TXRegistry now inherits from TXOwl, not TXBase like before, and the member ErrorCode and accessor GetErrorCode have been added. The constructor signatures have been updated accordingly. Also, TXRegistry::Check, previously used to throw TXRegistry conditionally, has been removed. Client code should be rewritten to throw TXRegistry explicitly.