diff options
author | Matthew Maurer <mmaurer@google.com> | 2019-05-07 20:37:15 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-05-07 20:37:15 -0700 |
commit | 10f9d7dbe3e1feab51d5bca04b8554fe7dbf36dc (patch) | |
tree | 585d447f1a700e4ea33efe52147ded1bc61a717b | |
parent | acdbc8688e23b39ff311b4b554be3547a47245a3 (diff) | |
parent | f68302d93b7bd10d5d0e7a74ec8078479d0e0932 (diff) | |
download | gatekeeper-10f9d7dbe3e1feab51d5bca04b8554fe7dbf36dc.tar.gz |
[automerger] Remove potential double free am: 9d4b635922 am: 85e5167178 am: 4dd7a24475 am: 0573a65f08 am: 93ba1512a8 am: aafa29b59c am: 564b0eae9f
am: f68302d93b
Change-Id: I24ff9a72ae5ea8ccbd3d6aef457ee24e88216731
-rw-r--r-- | gatekeeper.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gatekeeper.cpp b/gatekeeper.cpp index 0d19816..fe427bd 100644 --- a/gatekeeper.cpp +++ b/gatekeeper.cpp @@ -241,7 +241,6 @@ void GateKeeper::MintAuthToken(UniquePtr<uint8_t> *auth_token, uint32_t *length, uint32_t hash_len = (uint32_t)((uint8_t *)&token->hmac - (uint8_t *)token); ComputeSignature(token->hmac, sizeof(token->hmac), auth_token_key, key_len, reinterpret_cast<uint8_t *>(token), hash_len); - delete[] auth_token_key; } else { memset(token->hmac, 0, sizeof(token->hmac)); } |