crypto/bn/bn_print.c:161: 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:141:10: Assignment
139.       }
140.   
141.       for (i = 0; i <= (INT_MAX/4) && isxdigit((unsigned char)a[i]); i++)
                ^
142.           continue;
143.   

crypto/bn/bn_print.c:161:9: Call
159.   
160.       /* i is the number of hex digits */
161.       if (bn_expand(ret, i * 4) == NULL)
               ^
162.           goto err;
163.   

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

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

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