crypto/ec/ecp_smpl.c:204: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_nnmod`.
Showing all 13 steps of the trace


crypto/ec/ecp_smpl.c:194:13: Call
192.   
193.       BN_CTX_start(ctx);
194.       tmp_a = BN_CTX_get(ctx);
                   ^
195.       if (tmp_a == NULL)
196.           goto err;

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/ec/ecp_smpl.c:204:10: Call
202.   
203.       /* group->a */
204.       if (!BN_nnmod(tmp_a, a, p, ctx))
                ^
205.           goto err;
206.       if (group->meth->field_encode) {

crypto/bn/bn_mod.c:119:1: Parameter `*r->d`
  117.   #include "bn_lcl.h"
  118.   
  119. > int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
  120.   {
  121.       /*

crypto/bn/bn_mod.c:126:11: Call
  124.        */
  125.   
  126.       if (!(BN_mod(r, m, d, ctx)))
                   ^
  127.           return 0;
  128.       if (!r->neg)

crypto/bn/bn_div.c:189:1: Parameter `*rm->d`
    187.    * If 'dv' or 'rm' is NULL, the respective value is not returned.
    188.    */
    189. > int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
    190.              BN_CTX *ctx)
    191.   {

crypto/bn/bn_div.c:462:9: Call
    460.            */
    461.           int neg = num->neg;
    462.           BN_rshift(rm, snum, norm_shift);
                   ^
    463.           if (!BN_is_zero(rm))
    464.               rm->neg = neg;

crypto/bn/bn_shift.c:169:1: Parameter `*r->d`
      167.   }
      168.   
      169. > int BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
      170.   {
      171.       int i, j, nw, lb, rb;

crypto/bn/bn_shift.c:187:9: Call
      185.       lb = BN_BITS2 - rb;
      186.       if (nw >= a->top || a->top == 0) {
      187.           BN_zero(r);
                     ^
      188.           return (1);
      189.       }

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