apps/x509.c:672: 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:324:24: Call
322.               break;
323.           case OPT_SET_SERIAL:
324.               if ((sno = s2i_ASN1_INTEGER(NULL, opt_arg())) == NULL)
                              ^
325.                   goto opthelp;
326.               break;

crypto/x509v3/v3_utl.c:201:15: Call
  199.   
  200.       if (ishex)
  201.           ret = BN_hex2bn(&bn, value);
                       ^
  202.       else
  203.           ret = BN_dec2bn(&bn, value);

crypto/bn/bn_print.c:172:1: Parameter `*(*bn)->d`
    170.   }
    171.   
    172. > int BN_hex2bn(BIGNUM **bn, const char *a)
    173.   {
    174.       BIGNUM *ret = NULL;

apps/x509.c:672:22: Call
670.                   if (!bnser)
671.                       goto end;
672.                   if (!BN_add_word(bnser, 1))
                            ^
673.                       goto end;
674.                   ser = BN_to_ASN1_INTEGER(bnser, NULL);

crypto/bn/bn_word.c:123:1: Parameter `*a->d`
  121.   }
  122.   
  123. > int BN_add_word(BIGNUM *a, BN_ULONG w)
  124.   {
  125.       BN_ULONG l;

crypto/bn/bn_word.c:140:13: Call
  138.       if (a->neg) {
  139.           a->neg = 0;
  140.           i = BN_sub_word(a, w);
                     ^
  141.           if (!BN_is_zero(a))
  142.               a->neg = !(a->neg);

crypto/bn/bn_word.c:159:1: <Length trace>
157.   }
158.   
159. > int BN_sub_word(BIGNUM *a, BN_ULONG w)
160.   {
161.       int i;

crypto/bn/bn_word.c:159:1: Parameter `*a->d`
    157.   }
    158.   
    159. > int BN_sub_word(BIGNUM *a, BN_ULONG w)
    160.   {
    161.       int i;

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