summaryrefslogtreecommitdiff
path: root/lib/libssl/test/tpkcs7d
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2015-02-07 04:37:36 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2015-02-07 04:37:36 +0000
commit1da958521263b5795f8977fe05ae3ac628d75090 (patch)
tree9190e70454dd941bbd021542cb35faa661c96dfe /lib/libssl/test/tpkcs7d
parent6d29a9704aba54def8826d638eaddfd891518358 (diff)
Only call free in CBB_init().
CBB_init_fixed() should not call free because it can lead to use after free or double free bugs. The caller should be responsible for creating and destroying the buffer. From BoringSSL commit a84f06fc1eee6ea25ce040675fbad72c532afece miod agrees with the reasoning ok jsing@, beck@
Diffstat (limited to 'lib/libssl/test/tpkcs7d')
0 files changed, 0 insertions, 0 deletions