crypto/bn/bn_gf2m.c:967: error: BUFFER_OVERRUN_L3
  Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_GF2m_mod_div`.
Showing all 12 steps of the trace


crypto/bn/bn_gf2m.c:962:18: Call
960.   
961.       BN_CTX_start(ctx);
962.       if ((field = BN_CTX_get(ctx)) == NULL)
                        ^
963.           goto err;
964.       if (!BN_GF2m_arr2poly(p, field))

crypto/bn/bn_ctx.c:284:5: Call
  282.       }
  283.       /* OK, make sure the returned bignum is "zero" */
  284.       BN_zero(ret);
             ^
  285.       ctx->used++;
  286.       CTXDBG_RET(ctx, ret);

crypto/bn/bn_lib.c:530:1: Parameter `*a->d`
    528.   }
    529.   
    530. > int BN_set_word(BIGNUM *a, BN_ULONG w)
    531.   {
    532.       bn_check_top(a);

crypto/bn/bn_gf2m.c:967:11: Call
965.           goto err;
966.   
967.       ret = BN_GF2m_mod_div(r, yy, xx, field, ctx);
                 ^
968.       bn_check_top(r);
969.   

crypto/bn/bn_gf2m.c:831:1: Parameter `*p->d`
  829.    * or y, x could equal y.
  830.    */
  831. > int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x,
  832.                       const BIGNUM *p, BN_CTX *ctx)
  833.   {

crypto/bn/bn_gf2m.c:846:10: Call
  844.           goto err;
  845.   
  846.       if (!BN_GF2m_mod_inv(xinv, x, p, ctx))
                  ^
  847.           goto err;
  848.       if (!BN_GF2m_mod_mul(r, y, xinv, p, ctx))

crypto/bn/bn_gf2m.c:631:1: Parameter `*p->d`
    629.    * Curve Cryptography Over Binary Fields".
    630.    */
    631. > int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
    632.   {
    633.       BIGNUM *b, *c = NULL, *u = NULL, *v = NULL, *tmp;

crypto/bn/bn_gf2m.c:655:10: Call
    653.           goto err;
    654.   
    655.       if (!BN_copy(v, p))
                    ^
    656.           goto err;
    657.   # if 0

crypto/bn/bn_lib.c:429:1: <Length trace>
427.   }
428.   
429. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
430.   {
431.       int i;

crypto/bn/bn_lib.c:429:1: Parameter `*b->d`
      427.   }
      428.   
      429. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
      430.   {
      431.       int i;

crypto/bn/bn_lib.c:444:5: Assignment
      442.   #if 1
      443.       A = a->d;
      444.       B = b->d;
                 ^
      445.       for (i = b->top >> 2; i > 0; i--, A += 4, B += 4) {
      446.           BN_ULONG a0, a1, a2, a3;

crypto/bn/bn_lib.c:450:14: Array access: Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_GF2m_mod_div` 
      448.           a1 = B[1];
      449.           a2 = B[2];
      450.           a3 = B[3];
                          ^
      451.           A[0] = a0;
      452.           A[1] = a1;
