crypto/dsa/dsa_gen.c:576: error: BUFFER_OVERRUN_L3
  Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_MONT_CTX_set`.
Showing all 12 steps of the trace


crypto/dsa/dsa_gen.c:456:17: Call
454.   
455.               /* step 4 */
456.               r = BN_is_prime_fasttest_ex(q, DSS_prime_checks, ctx,
                       ^
457.                                           seed_in ? 1 : 0, cb);
458.               if (r > 0)

crypto/bn/bn_prime.c:370:10: Call
  368.       if (mont == NULL)
  369.           goto err;
  370.       if (!BN_MONT_CTX_set(mont, A, ctx))
                  ^
  371.           goto err;
  372.   

crypto/bn/bn_mont.c:348:1: Parameter `*mont->N.d`
    346.   }
    347.   
    348. > int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
    349.   {
    350.       int ret = 0;

crypto/dsa/dsa_gen.c:576:10: Call
574.       } else
575.           h = 1;
576.       if (!BN_MONT_CTX_set(mont, p, ctx))
                ^
577.           goto err;
578.   

crypto/bn/bn_mont.c:348:1: Parameter `*mont->N.d`
  346.   }
  347.   
  348. > int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
  349.   {
  350.       int ret = 0;

crypto/bn/bn_mont.c:360:10: Call
  358.           goto err;
  359.       R = &(mont->RR);            /* grab RR as a temp */
  360.       if (!BN_copy(&(mont->N), mod))
                  ^
  361.           goto err;               /* Set N */
  362.       mont->N.neg = 0;

crypto/bn/bn_lib.c:419:1: <Length trace>
417.   }
418.   
419. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
420.   {
421.       int i;

crypto/bn/bn_lib.c:419:1: Parameter `*a->d`
    417.   }
    418.   
    419. > BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
    420.   {
    421.       int i;

crypto/bn/bn_lib.c:429:9: Call
    427.       if (a == b)
    428.           return (a);
    429.       if (bn_wexpand(a, b->top) == NULL)
                   ^
    430.           return (NULL);
    431.   

crypto/bn/bn_lib.c:1071:1: Parameter `*a->d`
      1069.   }
      1070.   
      1071. > BIGNUM *bn_wexpand(BIGNUM *a, int words)
      1072.   {
      1073.       return (words <= a->dmax) ? a : bn_expand2(a, words);

crypto/bn/bn_lib.c:433:5: Assignment
    431.   
    432.   #if 1
    433.       A = a->d;
               ^
    434.       B = b->d;
    435.       for (i = b->top >> 2; i > 0; i--, A += 4, B += 4) {

crypto/bn/bn_lib.c:444:9: Array access: Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_MONT_CTX_set` 
    442.           A[1] = a1;
    443.           A[2] = a2;
    444.           A[3] = a3;
                   ^
    445.       }
    446.       /* ultrix cc workaround, see comments in bn_expand_internal */
