[opendnssec/SoftHSMv2] 8167f0: Fix memory leaks in the crypto tests

Jakob Schlyter jakob at kirei.se
Mon Feb 10 20:54:39 CET 2014


  Branch: refs/heads/develop
  Home:   https://github.com/opendnssec/SoftHSMv2
  Commit: 8167f0d396d4037bddbac1f34fc8cb0bbb6490b4
      https://github.com/opendnssec/SoftHSMv2/commit/8167f0d396d4037bddbac1f34fc8cb0bbb6490b4
  Author: Rickard Bellgrim <rickard at opendnssec.org>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M src/lib/crypto/test/cryptotest.cpp

  Log Message:
  -----------
  Fix memory leaks in the crypto tests


  Commit: d8b3bef799921ad6e43c0fe82ba41575f7cbf4e3
      https://github.com/opendnssec/SoftHSMv2/commit/d8b3bef799921ad6e43c0fe82ba41575f7cbf4e3
  Author: Rickard Bellgrim <rickard at opendnssec.org>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M src/lib/data_mgr/test/datamgrtest.cpp

  Log Message:
  -----------
  Fix memory leaks in data manager tests


  Commit: 7848f8843b8b9c9450487b7b9617755ef9daee2b
      https://github.com/opendnssec/SoftHSMv2/commit/7848f8843b8b9c9450487b7b9617755ef9daee2b
  Author: Rickard Bellgrim <rickard at opendnssec.org>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M src/lib/object_store/test/objstoretest.cpp

  Log Message:
  -----------
  Fix memory leaks in object store tests


  Commit: 810358c96db2436097f8fa28ee78377f54a4d4aa
      https://github.com/opendnssec/SoftHSMv2/commit/810358c96db2436097f8fa28ee78377f54a4d4aa
  Author: Rickard Bellgrim <rickard at opendnssec.org>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M src/lib/slot_mgr/test/SlotManagerTests.cpp

  Log Message:
  -----------
  Fix memory leaks in the slot manager tests


  Commit: 60988a0c6c1c86db80548a3985989262a0f04f0c
      https://github.com/opendnssec/SoftHSMv2/commit/60988a0c6c1c86db80548a3985989262a0f04f0c
  Author: Rickard Bellgrim <rickard at opendnssec.org>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M src/lib/crypto/MacAlgorithm.cpp
    M src/lib/crypto/SymmetricAlgorithm.cpp

  Log Message:
  -----------
  Fix memory leak: It can be cases where the key has not been set
and the calling code just wants to recycle the key. Also, the
algorithm code does not have ownership of the key. The current
design is that you first must recycle the key and then the
algorithm.


  Commit: 01061319f29c3154fcb35a7d7b6bd135d53ac464
      https://github.com/opendnssec/SoftHSMv2/commit/01061319f29c3154fcb35a7d7b6bd135d53ac464
  Author: Rickard Bellgrim <rickard at opendnssec.org>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M src/lib/session_mgr/Session.cpp

  Log Message:
  -----------
  Fix memory leak: The symmetric key can be set both for mac and
symmetric algorithms. If we do not set it in the session, then
it will not be deleted once the operation is finished.


  Commit: 0ba786979d6441a226ba1537d62ec2a608531ebd
      https://github.com/opendnssec/SoftHSMv2/commit/0ba786979d6441a226ba1537d62ec2a608531ebd
  Author: Jakob Schlyter <jakob at kirei.se>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M src/lib/crypto/MacAlgorithm.cpp
    M src/lib/crypto/SymmetricAlgorithm.cpp
    M src/lib/crypto/test/cryptotest.cpp
    M src/lib/data_mgr/test/datamgrtest.cpp
    M src/lib/object_store/test/objstoretest.cpp
    M src/lib/session_mgr/Session.cpp
    M src/lib/slot_mgr/test/SlotManagerTests.cpp

  Log Message:
  -----------
  Merge pull request #53 from bellgrim/valgrind

Fix memory leaks


Compare: https://github.com/opendnssec/SoftHSMv2/compare/3f16ddf5513f...0ba786979d64


More information about the Opendnssec-commits mailing list