crypto/bn/bn_gf2m.c:1018: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `BN_GF2m_mod_sqr_arr`.
Showing all 13 steps of the trace


crypto/bn/bn_gf2m.c:983:1: Parameter `ctx->stack.depth`
981.    * 0. Uses algorithms A.4.7 and A.4.6 from IEEE P1363.
982.    */
983. > int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a_, const int p[],
984.                                  BN_CTX *ctx)
985.   {

crypto/bn/bn_gf2m.c:997:5: Call
995.       }
996.   
997.       BN_CTX_start(ctx);
            ^
998.       a = BN_CTX_get(ctx);
999.       z = BN_CTX_get(ctx);

crypto/bn/bn_ctx.c:181:1: Parameter `ctx->stack.depth`
  179.   }
  180.   
  181. > void BN_CTX_start(BN_CTX *ctx)
  182.   {
  183.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_gf2m.c:1018:18: Call
1016.               goto err;
1017.           for (j = 1; j <= (p[0] - 1) / 2; j++) {
1018.               if (!BN_GF2m_mod_sqr_arr(z, z, p, ctx))
                         ^
1019.                   goto err;
1020.               if (!BN_GF2m_mod_sqr_arr(z, z, p, ctx))

crypto/bn/bn_gf2m.c:489:1: Parameter `ctx->stack.depth`
  487.   
  488.   /* Square a, reduce the result mod p, and store it in a.  r could be a. */
  489. > int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
  490.                           BN_CTX *ctx)
  491.   {

crypto/bn/bn_gf2m.c:496:5: Call
  494.   
  495.       bn_check_top(a);
  496.       BN_CTX_start(ctx);
             ^
  497.       if ((s = BN_CTX_get(ctx)) == NULL)
  498.           goto err;

crypto/bn/bn_ctx.c:181:1: Parameter `ctx->stack.depth`
    179.   }
    180.   
    181. > void BN_CTX_start(BN_CTX *ctx)
    182.   {
    183.       CTXDBG_ENTRY("BN_CTX_start", ctx);

crypto/bn/bn_gf2m.c:514:5: Call
  512.       ret = 1;
  513.    err:
  514.       BN_CTX_end(ctx);
             ^
  515.       return ret;
  516.   }

crypto/bn/bn_ctx.c:195:1: Parameter `ctx->stack.depth`
    193.   }
    194.   
    195. > void BN_CTX_end(BN_CTX *ctx)
    196.   {
    197.       CTXDBG_ENTRY("BN_CTX_end", ctx);

crypto/bn/bn_ctx.c:201:27: Call
    199.           ctx->err_stack--;
    200.       else {
    201.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                     ^
    202.           /* Does this stack frame have anything to release? */
    203.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:274:1: <LHS trace>
272.   }
273.   
274. > static unsigned int BN_STACK_pop(BN_STACK *st)
275.   {
276.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:274:1: Parameter `st->depth`
      272.   }
      273.   
      274. > static unsigned int BN_STACK_pop(BN_STACK *st)
      275.   {
      276.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:276:12: Binary operation: ([0, +oo] - 1):unsigned32 by call to `BN_GF2m_mod_sqr_arr` 
      274.   static unsigned int BN_STACK_pop(BN_STACK *st)
      275.   {
      276.       return st->indexes[--(st->depth)];
                        ^
      277.   }
      278.   
