CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/03/16 07:29:56
Modified files:
lib/libcrypto/buffer: buffer.c
Log message:
Convert BUF_MEM_grow() and BUF_MEM_grow_clean() to recallocarray(),
ensuring that the buffer contents are zeroed on allocation and not leaked
when resizing.
It is worth noting that BUF_MEM_grow_clean() already did this manually by
avoiding realloc().
ok beck@ inoguchi@
