commit | 79db3ec849c5f1142a0802dccfff6cbef564ff76 | [log] [tgz] |
---|---|---|
author | Hung-ying Tyan <tyanh@google.com> | Fri Jun 08 17:53:48 2018 +0800 |
committer | Hung-ying Tyan <tyanh@google.com> | Fri Jun 08 17:53:48 2018 +0800 |
tree | 52af302851ddcb6e9b246d5db8045fe4569b8acb | |
parent | 2c82288f49d865c516fcd6d83bcd819e28b9a221 [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