CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2020/03/12 11:17:12
Modified files: lib/libssl : bs_cbb.c Log message: 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@