CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2021/10/31 00:48:54

Modified files:
        lib/libssl     : bs_cbs.c 

Log message:
Add explicit CBS_contains_zero_byte() check in CBS_strdup().

If the CBS data contains a zero byte, then CBS_strdup() is only going to
return part of the data - add an explicit CBS_contains_zero_byte() and
treat such data as an error case.

ok tb@

Reply via email to