engines/ccgost/gost2001.c:67: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_hex2bn`.
Showing all 9 steps of the trace


engines/ccgost/gost2001.c:49:9: Call
47.   
48.       BN_CTX_start(ctx);
49.       p = BN_CTX_get(ctx);
              ^
50.       a = BN_CTX_get(ctx);
51.       b = BN_CTX_get(ctx);

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);

engines/ccgost/gost2001.c:67:13: Call
65.       }
66.       if (!BN_hex2bn(&p, params->p)
67.           || !BN_hex2bn(&a, params->a)
                  ^
68.           || !BN_hex2bn(&b, params->b)) {
69.           GOSTerr(GOST_F_FILL_GOST2001_PARAMS,

crypto/bn/bn_print.c:172:1: Parameter `*(*bn)->d`
  170.   }
  171.   
  172. > int BN_hex2bn(BIGNUM **bn, const char *a)
  173.   {
  174.       BIGNUM *ret = NULL;

crypto/bn/bn_print.c:199:9: Call
  197.       } else {
  198.           ret = *bn;
  199.           BN_zero(ret);
                 ^
  200.       }
  201.   

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_hex2bn` 
    534.           return (0);
    535.       a->neg = 0;
    536.       a->d[0] = w;
               ^
    537.       a->top = (w ? 1 : 0);
    538.       bn_check_top(a);
