crypto/bn/bn_word.c:35: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_div_word`.
Showing all 11 steps of the trace


crypto/bn/bn_word.c:31:23: Call
29.        */
30.       if (w > ((BN_ULONG)1 << BN_BITS4)) {
31.           BIGNUM *tmp = BN_dup(a);
                            ^
32.           if (tmp == NULL)
33.               return (BN_ULONG)-1;

crypto/bn/bn_lib.c:273:10: Call
  271.       if (t == NULL)
  272.           return NULL;
  273.       if (!BN_copy(t, a)) {
                  ^
  274.           BN_free(t);
  275.           return NULL;

crypto/bn/bn_lib.c:281:1: Parameter `*a->d`
    279.   }
    280.   
    281. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
    282.   {
    283.       bn_check_top(b);

crypto/bn/bn_word.c:35:15: Call
33.               return (BN_ULONG)-1;
34.   
35.           ret = BN_div_word(tmp, w);
                    ^
36.           BN_free(tmp);
37.   

crypto/bn/bn_word.c:61:1: Parameter `*a->d`
  59.   }
  60.   
  61. > BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w)
  62.   {
  63.       BN_ULONG ret = 0;

crypto/bn/bn_word.c:78:10: Call
  76.       j = BN_BITS2 - BN_num_bits_word(w);
  77.       w <<= j;
  78.       if (!BN_lshift(a, a, j))
                 ^
  79.           return (BN_ULONG)-1;
  80.   

crypto/bn/bn_shift.c:84:1: Parameter `*a->d`
    82.   }
    83.   
    84. > int BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
    85.   {
    86.       int ret;

crypto/bn/bn_shift.c:93:11: Call
    91.       }
    92.   
    93.       ret = bn_lshift_fixed_top(r, a, n);
                    ^
    94.   
    95.       bn_correct_top(r);

crypto/bn/bn_shift.c:107:1: <Length trace>
105.    * non-secret.
106.    */
107. > int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n)
108.   {
109.       int i, nw;

crypto/bn/bn_shift.c:107:1: Parameter `*a->d`
      105.    * non-secret.
      106.    */
      107. > int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n)
      108.   {
      109.       int i, nw;

crypto/bn/bn_shift.c:129:9: Array access: Offset: 0 Size: [0, 8388607] by call to `BN_div_word` 
      127.           rmask = (BN_ULONG)0 - rb;  /* rmask = 0 - (rb != 0) */
      128.           rmask |= rmask >> 8;
      129.           f = &(a->d[0]);
                     ^
      130.           t = &(r->d[nw]);
      131.           l = f[a->top - 1];
