summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2018-06-08 17:53:48 +0800
committerXin Li <delphij@google.com>2018-08-10 00:48:32 +0000
commit555cb5e13b215babb32cafb4d884acb1a462b44b (patch)
tree1ad51c12ccc1b15fd4520e8fb1c4f0c748d3857c /identity/support/src/cppbor_parse.cpp
parentbbe9263f857e4aa0a08aeb6b916dadb4f6d0ab94 (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)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions