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


crypto/bn/bn_gf2m.c:813:18: Call
811.       bn_check_top(xx);
812.       BN_CTX_start(ctx);
813.       if ((field = BN_CTX_get(ctx)) == NULL)
                        ^
814.           goto err;
815.       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:818:11: Call
816.           goto err;
817.   
818.       ret = BN_GF2m_mod_inv(r, xx, field, ctx);
                 ^
819.       bn_check_top(r);
820.   

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_inv` 
    448.           a1 = B[1];
    449.           a2 = B[2];
    450.           a3 = B[3];
                        ^
    451.           A[0] = a0;
    452.           A[1] = a1;
