crypto/bn/bn_gf2m.c:967: error: BUFFER_OVERRUN_L3
  Offset: [1, +oo] Size: [0, 8388607] by call to `BN_GF2m_mod_div`.
Showing all 14 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->top`
    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->top`
  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:710:14: <Offset trace>
708.           bdp = b->d;
709.           bdp[0] = 1;
710.           for (i = 1; i < top; i++)
                    ^
711.               bdp[i] = 0;
712.           b->top = top;

crypto/bn/bn_gf2m.c:710:14: Assignment
    708.           bdp = b->d;
    709.           bdp[0] = 1;
    710.           for (i = 1; i < top; i++)
                        ^
    711.               bdp[i] = 0;
    712.           b->top = top;

crypto/bn/bn_gf2m.c:641:14: <Length trace>
639.       BN_CTX_start(ctx);
640.   
641.       if ((b = BN_CTX_get(ctx)) == NULL)
                    ^
642.           goto err;
643.       if ((c = BN_CTX_get(ctx)) == NULL)

crypto/bn/bn_gf2m.c:641:14: Call
    639.       BN_CTX_start(ctx);
    640.   
    641.       if ((b = BN_CTX_get(ctx)) == NULL)
                        ^
    642.           goto err;
    643.       if ((c = BN_CTX_get(ctx)) == NULL)

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:708:9: Assignment
    706.           if (!bn_wexpand(b, top))
    707.             goto err;
    708.           bdp = b->d;
                   ^
    709.           bdp[0] = 1;
    710.           for (i = 1; i < top; i++)

crypto/bn/bn_gf2m.c:711:13: Array access: Offset: [1, +oo] Size: [0, 8388607] by call to `BN_GF2m_mod_div` 
    709.           bdp[0] = 1;
    710.           for (i = 1; i < top; i++)
    711.               bdp[i] = 0;
                       ^
    712.           b->top = top;
    713.           if (!bn_wexpand(c, top))
