Home
last modified time | relevance | path

Searched hist:ef0fedfa (Results 1 – 1 of 1) sorted by relevance

/openbsd/lib/libssl/
H A Dbs_cbb.cef0fedfa Thu Mar 12 17:17:12 GMT 2020 jsing <jsing@openbsd.org> Use calloc() rather than malloc() when allocating initial CBB buffer.

CBB uses recallocarray() to expand buffers, however was still using
malloc() for the initial buffer, which could result in memory being leaked
in incorrect use cases.

While here also use calloc() to allocate internal structs.

ok inoguchi@ tb@