commit | 9d4b63592231755c52124b2ea7d57ee2b2c35ef6 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Thu Mar 28 14:51:45 2019 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Mon Apr 29 20:08:43 2019 +0000 |
tree | 55071e98e5ec28f28abdb42d7ee18a8c8b698cd6 | |
parent | e3fab37e2aec7e09a1956ffaa0c05a63a6f539e7 [diff] |
Remove potential double free Janis noticed that GetAuthTokenKey has ownership retained by the implementer, but the caller in libgatekeeper is delete[]ing it. Bug: 120610663 Bug: 129768470 Test: gatekeeper-unit-tests, Gatekeeper 1.0 VTS against Trusty Change-Id: I67171d707706b1ebe5caad47447762144495e28b (cherry picked from commit 6d2ee18a9af8eb9d8580850e434d21e4481fa36e) (cherry picked from commit 303e6db4d5fbdd42be5bfda1419c759f8e8e4626)