crypto/srp/srp_vfy.c:699: error: BUFFER_OVERRUN_L3
  Offset: [1, +oo] Size: [0, 8388607] by call to `BN_mod_exp`.
Showing all 14 steps of the trace


crypto/srp/srp_vfy.c:688:19: Call
686.               goto err;
687.   
688.           salttmp = BN_bin2bn(tmp2, SRP_RANDOM_SALT_LEN, NULL);
                         ^
689.       } else {
690.           salttmp = *salt;

crypto/bn/bn_lib.c:389:9: Assignment
  387.       n = len;
  388.       if (n == 0) {
  389.           ret->top = 0;
                 ^
  390.           return ret;
  391.       }

crypto/srp/srp_vfy.c:699:10: Call
697.           goto err;
698.   
699.       if (!BN_mod_exp(*verifier, g, x, N, bn_ctx)) {
                ^
700.           BN_clear_free(*verifier);
701.           goto err;

crypto/bn/bn_exp.c:89:1: Parameter `*p->d`
  87.   }
  88.   
  89. > int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
  90.                  BN_CTX *ctx)
  91.   {

crypto/bn/bn_exp.c:144:19: Call
  142.           } else
  143.   # endif
  144.               ret = BN_mod_exp_mont(r, a, p, m, ctx, NULL);
                           ^
  145.       } else
  146.   #endif

crypto/bn/bn_exp.c:296:1: Parameter `*p->d`
    294.   }
    295.   
    296. > int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
    297.                       const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)
    298.   {

crypto/bn/bn_exp.c:310:16: Call
    308.               || BN_get_flags(a, BN_FLG_CONSTTIME) != 0
    309.               || BN_get_flags(m, BN_FLG_CONSTTIME) != 0) {
    310.           return BN_mod_exp_mont_consttime(rr, a, p, m, ctx, in_mont);
                          ^
    311.       }
    312.   

crypto/bn/bn_exp.c:596:1: Parameter `*p->d`
      594.    * http://www.daemonology.net/hyperthreading-considered-harmful/)
      595.    */
      596. > int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
      597.                                 const BIGNUM *m, BN_CTX *ctx,
      598.                                 BN_MONT_CTX *in_mont)

crypto/bn/bn_exp.c:1050:18: Call
      1048.           wmask = (1 << window0) - 1;
      1049.           bits -= window0;
      1050.           wvalue = bn_get_bits(p, bits) & wmask;
                               ^
      1051.           if (!MOD_EXP_CTIME_COPY_FROM_PREBUF(&tmp, top, powerbuf, wvalue,
      1052.                                               window))

crypto/bn/bn_exp.c:476:1: <Offset trace>
474.   }
475.   
476. > static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos)
477.   {
478.       BN_ULONG ret = 0;

crypto/bn/bn_exp.c:476:1: Parameter `a->top`
        474.   }
        475.   
        476. > static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos)
        477.   {
        478.       BN_ULONG ret = 0;

crypto/bn/bn_exp.c:476:1: <Length trace>
474.   }
475.   
476. > static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos)
477.   {
478.       BN_ULONG ret = 0;

crypto/bn/bn_exp.c:476:1: Parameter `*a->d`
        474.   }
        475.   
        476. > static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos)
        477.   {
        478.       BN_ULONG ret = 0;

crypto/bn/bn_exp.c:488:24: Array access: Offset: [1, +oo] Size: [0, 8388607] by call to `BN_mod_exp` 
        486.               ret >>= bitpos;
        487.               if (++wordpos < a->top)
        488.                   ret |= a->d[wordpos] << (BN_BITS2 - bitpos);
                                      ^
        489.           }
        490.       }
