apps/x509.c:933: error: BUFFER_OVERRUN_L3
  Offset: 0 Size: [0, 8388607] by call to `BN_add_word`.
Showing all 9 steps of the trace


apps/x509.c:929:14: Call
927.       }
928.   
929.       serial = load_serial(serialfile, create, NULL);
                    ^
930.       if (serial == NULL)
931.           goto end;

apps/apps.c:1380:29: Call
  1378.           ERR_clear_error();
  1379.           ret = BN_new();
  1380.           if (ret == NULL || !rand_serial(ret, ai))
                                      ^
  1381.               BIO_printf(bio_err, "Out of memory\n");
  1382.       } else {

apps/apps.c:1499:1: Parameter `b->d`
    1497.   }
    1498.   
    1499. > int rand_serial(BIGNUM *b, ASN1_INTEGER *ai)
    1500.   {
    1501.       BIGNUM *btmp;

apps/x509.c:933:10: Call
931.           goto end;
932.   
933.       if (!BN_add_word(serial, 1)) {
                ^
934.           BIO_printf(bio_err, "add_word failure\n");
935.           goto end;

crypto/bn/bn_word.c:98:1: Parameter `*a->d`
  96.   }
  97.   
  98. > int BN_add_word(BIGNUM *a, BN_ULONG w)
  99.   {
  100.       BN_ULONG l;

crypto/bn/bn_word.c:115:13: Call
  113.       if (a->neg) {
  114.           a->neg = 0;
  115.           i = BN_sub_word(a, w);
                     ^
  116.           if (!BN_is_zero(a))
  117.               a->neg = !(a->neg);

crypto/bn/bn_word.c:134:1: <Length trace>
132.   }
133.   
134. > int BN_sub_word(BIGNUM *a, BN_ULONG w)
135.   {
136.       int i;

crypto/bn/bn_word.c:134:1: Parameter `*a->d`
    132.   }
    133.   
    134. > int BN_sub_word(BIGNUM *a, BN_ULONG w)
    135.   {
    136.       int i;

crypto/bn/bn_word.c:159:27: Array access: Offset: 0 Size: [0, 8388607] by call to `BN_add_word` 
    157.       }
    158.   
    159.       if ((a->top == 1) && (a->d[0] < w)) {
                                     ^
    160.           a->d[0] = w - a->d[0];
    161.           a->neg = 1;
