Hi, I'd like to report a bug in openssl-0.9.8g compiled with 
Visual Studio. OS is Windows XP.

Access violation occurs when BN_rshift() is used on a BIGNUM whose 
bit length is less (amount required varies) than the number of 
bits requesting to be shifted.

Here is very simple code that reliably reproduces the problem:

    BIGNUM * bnp = BN_new();
    BN_rand(bnp, 64, 0, 0);
    BN_rshift(bnp, bnp, 67);

Thanks for the great lib!

--
Andrew Lamoureux

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to