CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2020/09/15 23:52:04

Modified files:
        lib/libssl     : bs_cbb.c 

Log message:
Avoid memset() before memcpy() for CBB_add_bytes().

CBB_add_bytes() calls CBB_add_space(), which now explicitly zeros memory
to avoid information leaks. However CBB_add_bytes() calls memcpy() for the
same memory region, so the memset() is unnecessary. Avoid this by inlining
part of CBB_add_space() rather than calling it directly.

ok beck@ tb@

Reply via email to