crypto/dsa/dsa_gen.c:481: error: INTEGER_OVERFLOW_L2
  ([0, `N`] - 1):unsigned32 by call to `BN_bin2bn`.
Showing all 7 steps of the trace


crypto/dsa/dsa_gen.c:375:1: Parameter `N`
373.    */
374.   
375. > int dsa_builtin_paramgen2(DSA *ret, size_t L, size_t N,
376.                             const EVP_MD *evpmd, const unsigned char *seed_in,
377.                             size_t seed_len, int idx, unsigned char *seed_out,

crypto/dsa/dsa_gen.c:388:5: Assignment
386.       BIGNUM *g = NULL, *q = NULL, *p = NULL;
387.       BN_MONT_CTX *mont = NULL;
388.       int i, k, n = 0, m = 0, qsize = N >> 3;
           ^
389.       int counter = 0;
390.       int r = 0;

crypto/dsa/dsa_gen.c:481:18: Call
479.               pmd[0] |= 0x80;
480.               pmd[qsize - 1] |= 0x01;
481.               if (!BN_bin2bn(pmd, qsize, q))
                        ^
482.                   goto err;
483.   

crypto/bn/bn_lib.c:546:1: <LHS trace>
544.   }
545.   
546. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
547.   {
548.       unsigned int i, m;

crypto/bn/bn_lib.c:546:1: Parameter `len`
  544.   }
  545.   
  546. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
  547.   {
  548.       unsigned int i, m;

crypto/bn/bn_lib.c:559:5: Assignment
  557.       bn_check_top(ret);
  558.       l = 0;
  559.       n = len;
             ^
  560.       if (n == 0) {
  561.           ret->top = 0;

crypto/bn/bn_lib.c:564:5: Binary operation: ([0, N] - 1):unsigned32 by call to `BN_bin2bn` 
  562.           return (ret);
  563.       }
  564.       i = ((n - 1) / BN_BYTES) + 1;
             ^
  565.       m = ((n - 1) % (BN_BYTES));
  566.       if (bn_wexpand(ret, (int)i) == NULL) {
