CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/11/08 09:48:28

Modified files:
        lib/libcrypto/asn1: a_bitstr.c 

Log message:
Avoid signed integer overflow in i2c_ASN1_BIT_STRING()

If the length of the bitstring is INT_MAX, adding 1 to it is undefined
behavior, so error out before doing so.

Based on BoringSSL eeb3333f by davidben

ok beck joshua

Reply via email to