crypto/ec/ecdh_ossl.c:136: error: BUFFER_OVERRUN_L3
  Offset: [4, +oo] (⇐ [0, +oo] + 4) Size: [0, 8388607] by call to `BN_mul`.
Showing all 10 steps of the trace


crypto/ec/ecdh_ossl.c:135:14: Call
133.   
134.       if (EC_KEY_get_flags(ecdh) & EC_FLAG_COFACTOR_ECDH) {
135.           if (!EC_GROUP_get_cofactor(group, x, NULL) ||
                    ^
136.               !BN_mul(x, x, priv_key, ctx)) {
137.               ECerr(EC_F_ECDH_SIMPLE_COMPUTE_KEY, ERR_R_MALLOC_FAILURE);

crypto/ec/ec_lib.c:380:1: Parameter `cofactor->d`
  378.   }
  379.   
  380. > int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor,
  381.                             BN_CTX *ctx)
  382.   {

crypto/ec/ecdh_ossl.c:136:14: Call
134.       if (EC_KEY_get_flags(ecdh) & EC_FLAG_COFACTOR_ECDH) {
135.           if (!EC_GROUP_get_cofactor(group, x, NULL) ||
136.               !BN_mul(x, x, priv_key, ctx)) {
                    ^
137.               ECerr(EC_F_ECDH_SIMPLE_COMPUTE_KEY, ERR_R_MALLOC_FAILURE);
138.               goto err;

crypto/bn/bn_mul.c:882:1: Parameter `*a->d`
  880.   #endif                          /* BN_RECURSION */
  881.   
  882. > int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
  883.   {
  884.       int ret = 0;

crypto/bn/bn_mul.c:963:17: Call
  961.                   if (bn_wexpand(rr, k * 4) == NULL)
  962.                       goto err;
  963.                   bn_mul_part_recursive(rr->d, a->d, b->d,
                         ^
  964.                                         j, al - j, bl - j, t->d);
  965.               } else {            /* al <= j || bl <= j */

crypto/bn/bn_mul.c:533:1: Parameter `*a`
    531.    */
    532.   /* tnX may not be negative but less than n */
    533. > void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n,
    534.                              int tna, int tnb, BN_ULONG *t)
    535.   {

crypto/bn/bn_mul.c:541:9: Call
    539.   
    540.       if (n < 8) {
    541.           bn_mul_normal(r, a, n + tna, b, n + tnb);
                   ^
    542.           return;
    543.       }

crypto/bn/bn_mul.c:1036:1: <Length trace>
1034.   }
1035.   
1036. > void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb)
1037.   {
1038.       BN_ULONG *rr;

crypto/bn/bn_mul.c:1036:1: Parameter `*b`
      1034.   }
      1035.   
      1036. > void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb)
      1037.   {
      1038.       BN_ULONG *rr;

crypto/bn/bn_mul.c:1071:50: Array access: Offset: [4, +oo] (⇐ [0, +oo] + 4) Size: [0, 8388607] by call to `BN_mul` 
      1069.           if (--nb <= 0)
      1070.               return;
      1071.           rr[4] = bn_mul_add_words(&(r[4]), a, na, b[4]);
                                                               ^
      1072.           rr += 4;
      1073.           r += 4;
