crypto/bn/bn_print.c:236: error: INTEGER_OVERFLOW_L2
  ([4, 2147483584] + 64):signed32 by call to `bn_expand`.
Showing all 5 steps of the trace


crypto/bn/bn_print.c:213:10: Assignment
211.       }
212.   
213.       for (i = 0; i <= INT_MAX / 4 && ossl_isdigit(a[i]); i++)
                ^
214.           continue;
215.   

crypto/bn/bn_print.c:236:9: Call
234.   
235.       /* i is the number of digits, a bit of an over expand */
236.       if (bn_expand(ret, i * 4) == NULL)
               ^
237.           goto err;
238.   

crypto/bn/bn_lcl.h:658:1: <LHS trace>
656.                            const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
657.   
658. > static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits)
659.   {
660.       if (bits > (INT_MAX - BN_BITS2 + 1))

crypto/bn/bn_lcl.h:658:1: Parameter `bits`
  656.                            const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
  657.   
  658. > static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits)
  659.   {
  660.       if (bits > (INT_MAX - BN_BITS2 + 1))

crypto/bn/bn_lcl.h:663:9: Binary operation: ([4, 2147483584] + 64):signed32 by call to `bn_expand` 
  661.           return NULL;
  662.   
  663.       if (((bits+BN_BITS2-1)/BN_BITS2) <= (a)->dmax)
                 ^
  664.           return a;
  665.   
