• M
    Fix off-by-one in BN_rand · efee575a
    Matt Caswell 提交于
    If BN_rand is called with |bits| set to 1 and |top| set to 1 then a 1 byte
    buffer overflow can occur. There are no such instances within the OpenSSL at
    the moment.
    
    Thanks to Mateusz Kocielski (LogicalTrust), Marek Kroemeke, Filip Palian for
    discovering and reporting this issue.
    Reviewed-by: NKurt Roeckx <kurt@openssl.org>
    efee575a
BN_rand.pod 2.0 KB