commit | 555cb5e13b215babb32cafb4d884acb1a462b44b | [log] [tgz] |
---|---|---|
author | Hung-ying Tyan <tyanh@google.com> | Fri Jun 08 17:53:48 2018 +0800 |
committer | Xin Li <delphij@google.com> | Fri Aug 10 00:48:32 2018 +0000 |
tree | 1ad51c12ccc1b15fd4520e8fb1c4f0c748d3857c | |
parent | bbe9263f857e4aa0a08aeb6b916dadb4f6d0ab94 [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 Merged-In: I66a864e3e28905eebac2e7d3a4517d4d5aaa39df Change-Id: I66a864e3e28905eebac2e7d3a4517d4d5aaa39df (cherry picked from commit 79db3ec849c5f1142a0802dccfff6cbef564ff76)