crypto/ec/ecdsa_ossl.c:449: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_mod_mul`.
Showing all 16 steps of the trace


crypto/ec/ecdsa_ossl.c:399:5: Call
397.           return -1;
398.       }
399.       BN_CTX_start(ctx);
           ^
400.       u1 = BN_CTX_get(ctx);
401.       u2 = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:235:1: Parameter `ctx->stack.depth`
  233.   }
  234.   
  235. > void BN_CTX_start(BN_CTX *ctx)
  236.   {
  237.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/ec/ecdsa_ossl.c:449:10: Call
447.       }
448.       /* u2 = r * w mod q */
449.       if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) {
                ^
450.           ECerr(EC_F_OSSL_ECDSA_VERIFY_SIG, ERR_R_BN_LIB);
451.           goto err;

crypto/bn/bn_mod.c:178:1: Parameter `ctx->stack.depth`
  176.   
  177.   /* slow but works */
  178. > int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
  179.                  BN_CTX *ctx)
  180.   {

crypto/bn/bn_mod.c:188:5: Call
  186.       bn_check_top(m);
  187.   
  188.       BN_CTX_start(ctx);
             ^
  189.       if ((t = BN_CTX_get(ctx)) == NULL)
  190.           goto err;

crypto/bn/bn_ctx.c:235:1: Parameter `ctx->stack.depth`
    233.   }
    234.   
    235. > void BN_CTX_start(BN_CTX *ctx)
    236.   {
    237.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_mod.c:195:14: Call
  193.               goto err;
  194.       } else {
  195.           if (!BN_mul(t, a, b, ctx))
                      ^
  196.               goto err;
  197.       }

crypto/bn/bn_mul.c:882:1: Parameter `ctx->stack.depth`
    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:908:5: Call
    906.       top = al + bl;
    907.   
    908.       BN_CTX_start(ctx);
               ^
    909.       if ((r == a) || (r == b)) {
    910.           if ((rr = BN_CTX_get(ctx)) == NULL)

crypto/bn/bn_ctx.c:235:1: Parameter `ctx->stack.depth`
      233.   }
      234.   
      235. > void BN_CTX_start(BN_CTX *ctx)
      236.   {
      237.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_mul.c:1032:5: Call
    1030.    err:
    1031.       bn_check_top(r);
    1032.       BN_CTX_end(ctx);
                ^
    1033.       return (ret);
    1034.   }

crypto/bn/bn_ctx.c:249:1: Parameter `ctx->stack.depth`
      247.   }
      248.   
      249. > void BN_CTX_end(BN_CTX *ctx)
      250.   {
      251.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:255:27: Call
      253.           ctx->err_stack--;
      254.       else {
      255.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                       ^
      256.           /* Does this stack frame have anything to release? */
      257.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:325:1: <LHS trace>
323.   }
324.   
325. > static unsigned int BN_STACK_pop(BN_STACK *st)
326.   {
327.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:325:1: Parameter `st->depth`
        323.   }
        324.   
        325. > static unsigned int BN_STACK_pop(BN_STACK *st)
        326.   {
        327.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:327:12: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_mod_mul` 
        325.   static unsigned int BN_STACK_pop(BN_STACK *st)
        326.   {
        327.       return st->indexes[--(st->depth)];
                          ^
        328.   }
        329.   
