crypto/bn/bn_gf2m.c:964: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_GF2m_arr2poly`.
Showing all 9 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:964:10: Call
962.       if ((field = BN_CTX_get(ctx)) == NULL)
963.           goto err;
964.       if (!BN_GF2m_arr2poly(p, field))
                ^
965.           goto err;
966.   

crypto/bn/bn_gf2m.c:1280:1: Parameter `*a->d`
  1278.    * bit-string.  The array must be terminated by -1.
  1279.    */
  1280. > int BN_GF2m_arr2poly(const int p[], BIGNUM *a)
  1281.   {
  1282.       int i;

crypto/bn/bn_gf2m.c:1285:5: Call
  1283.   
  1284.       bn_check_top(a);
  1285.       BN_zero(a);
              ^
  1286.       for (i = 0; p[i] != -1; i++) {
  1287.           if (BN_set_bit(a, p[i]) == 0)

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

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_lib.c:536:5: Array access: Offset: 0 Size: [0, 8388607] by call to `BN_GF2m_arr2poly` 
    534.           return (0);
    535.       a->neg = 0;
    536.       a->d[0] = w;
               ^
    537.       a->top = (w ? 1 : 0);
    538.       bn_check_top(a);
