-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.0a2
-
Fix Version/s: 2.0.0b1
-
Component/s: None
-
Labels:None
Some of the operations in Session.cpp will recycle the wrong object. It recycles the incoming object and not the object stored in the session. Replace "recycle(object)" with "recycle(this->object)".
The recycling will probably not happen because the session is usually cleaned up using Session::resetOp() before calling any of these operations.
Session::setMacOp()
Session::setAsymmetricCryptoOp()
Session::setSymmetricCryptoOp()
Session::setPublicKey()
Session::setPrivateKey()
Session::setSymmetricKey()