irtimmer / tpm2-pk11

[DEPRECATED] PKCS#11 Module for TPM 2.0
BSD 2-Clause "Simplified" License
68 stars 24 forks source link

Zero the memory reserved to the sessions #70

Closed sgtio closed 6 years ago

sgtio commented 6 years ago

Ensure that the memory allocated for a session is zeroed before initializing the session.

irtimmer commented 6 years ago

Instead of zeroing the memory before calling session_open, I have zeroed the memory at the start of session_open with commit a413233