diff options
author | Doug Hogan <doug@cvs.openbsd.org> | 2015-02-07 04:37:36 +0000 |
---|---|---|
committer | Doug Hogan <doug@cvs.openbsd.org> | 2015-02-07 04:37:36 +0000 |
commit | 1da958521263b5795f8977fe05ae3ac628d75090 (patch) | |
tree | 9190e70454dd941bbd021542cb35faa661c96dfe /lib/libssl/test/test_aesni | |
parent | 6d29a9704aba54def8826d638eaddfd891518358 (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/test_aesni')
0 files changed, 0 insertions, 0 deletions