crypto/ec/eck_prn.c:147: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `EC_POINT_point2bn`.
Showing all 14 steps of the trace


crypto/ec/eck_prn.c:147:20: Call
145.           form = EC_GROUP_get_point_conversion_form(x);
146.   
147.           if ((gen = EC_POINT_point2bn(x, point, form, NULL, ctx)) == NULL) {
                          ^
148.               reason = ERR_R_EC_LIB;
149.               goto err;

crypto/ec/ec_print.c:14:1: Parameter `ctx->stack.depth`
  12.   #include "ec_lcl.h"
  13.   
  14. > BIGNUM *EC_POINT_point2bn(const EC_GROUP *group,
  15.                             const EC_POINT *point,
  16.                             point_conversion_form_t form,

crypto/ec/ec_print.c:22:15: Call
  20.       unsigned char *buf;
  21.   
  22.       buf_len = EC_POINT_point2buf(group, point, form, &buf, ctx);
                      ^
  23.   
  24.       if (buf_len == 0)

crypto/ec/ec_oct.c:129:1: Parameter `ctx->stack.depth`
    127.   }
    128.   
    129. > size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point,
    130.                             point_conversion_form_t form,
    131.                             unsigned char **pbuf, BN_CTX *ctx)

crypto/ec/ec_oct.c:143:11: Call
    141.           return 0;
    142.       }
    143.       len = EC_POINT_point2oct(group, point, form, buf, len, ctx);
                     ^
    144.       if (len == 0) {
    145.           OPENSSL_free(buf);

crypto/ec/ec_oct.c:70:1: Parameter `ctx->stack.depth`
      68.   #endif
      69.   
      70. > size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point,
      71.                             point_conversion_form_t form, unsigned char *buf,
      72.                             size_t len, BN_CTX *ctx)

crypto/ec/ec_oct.c:93:20: Call
      91.           }
      92.   #else
      93.               return ec_GF2m_simple_point2oct(group, point,
                               ^
      94.                                               form, buf, len, ctx);
      95.   #endif

crypto/ec/ec2_oct.c:121:1: Parameter `ctx->stack.depth`
        119.    * an error will be returned.
        120.    */
        121. > size_t ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point,
        122.                                   point_conversion_form_t form,
        123.                                   unsigned char *buf, size_t len, BN_CTX *ctx)

crypto/ec/ec2_oct.c:232:9: Call
        230.   
        231.       if (used_ctx)
        232.           BN_CTX_end(ctx);
                       ^
        233.   #ifndef FIPS_MODE
        234.       BN_CTX_free(new_ctx);

crypto/bn/bn_ctx.c:208:1: Parameter `ctx->stack.depth`
          206.   }
          207.   
          208. > void BN_CTX_end(BN_CTX *ctx)
          209.   {
          210.       if (ctx == NULL)

crypto/bn/bn_ctx.c:216:27: Call
          214.           ctx->err_stack--;
          215.       else {
          216.           unsigned int fp = BN_STACK_pop(&ctx->stack);
                                           ^
          217.           /* Does this stack frame have anything to release? */
          218.           if (fp < ctx->used)

crypto/bn/bn_ctx.c:298:1: <LHS trace>
296.   }
297.   
298. > static unsigned int BN_STACK_pop(BN_STACK *st)
299.   {
300.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:298:1: Parameter `st->depth`
            296.   }
            297.   
            298. > static unsigned int BN_STACK_pop(BN_STACK *st)
            299.   {
            300.       return st->indexes[--(st->depth)];

crypto/bn/bn_ctx.c:300:12: Binary operation: ([0, +oo] - 1):unsigned32 by call to `EC_POINT_point2bn` 
            298.   static unsigned int BN_STACK_pop(BN_STACK *st)
            299.   {
            300.       return st->indexes[--(st->depth)];
                              ^
            301.   }
            302.   
