commit | fd547ab6ce39423fc99524f391d709f428673d1f | [log] [tgz] |
---|---|---|
author | Hung-ying Tyan <tyanh@google.com> | Fri Jun 08 17:53:48 2018 +0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue Jun 26 23:44:29 2018 +0000 |
tree | 1ad51c12ccc1b15fd4520e8fb1c4f0c748d3857c | |
parent | 8bc26926ffe0c2b385b3c162f5aefd18b4ce9d69 [diff] |
Fix free() in keymaster VTS The buffer is allocated by OPENSSL_malloc() in X509_NAME_oneline(name, nullptr, 0). Should be reclaimed by OPENSSL_free() instead of free(). The patch is provided by vink.shen@mediatek.corp-partner.google.com Bug: 109708231 Test: build pass Change-Id: I66a864e3e28905eebac2e7d3a4517d4d5aaa39df (cherry picked from commit 79db3ec849c5f1142a0802dccfff6cbef564ff76)