CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2022/06/22 03:03:06

Modified files:
        lib/libcrypto/bn: bn_shift.c 

Log message:
Error out on negative shifts in BN_{r,l}shift()

Without these checks in both functions nw = n / BN_BITS2 will be negative
and this leads to out-of-bounds accesses via negative array indices and
memset with a negative size.

Pointed out by cheloha

ok jsing

Reply via email to