apps/ca.c:2067: error: BUFFER_OVERRUN_L3
  Offset: [-529, +oo] Size: 12 by call to `X509_print_ex`.
Showing all 15 steps of the trace


apps/ca.c:1977:10: Call
1975.       }
1976.   
1977.       if (!X509_set_subject_name(ret, subject))
                 ^
1978.           goto err;
1979.   

crypto/x509/x509_set.c:106:1: Parameter `*x->cert_info->subject`
  104.   }
  105.   
  106. > int X509_set_subject_name(X509 *x, X509_NAME *name)
  107.   {
  108.       if ((x == NULL) || (x->cert_info == NULL))

apps/ca.c:2057:14: Call
2055.       /* Set the right value for the noemailDN option */
2056.       if (email_dn == 0) {
2057.           if (!X509_set_subject_name(ret, dn_subject))
                     ^
2058.               goto err;
2059.       }

crypto/x509/x509_set.c:106:1: Parameter `*x->cert_info->subject`
  104.   }
  105.   
  106. > int X509_set_subject_name(X509 *x, X509_NAME *name)
  107.   {
  108.       if ((x == NULL) || (x->cert_info == NULL))

apps/ca.c:2067:9: Call
2065.            */
2066.           certopt |= X509_FLAG_NO_SIGDUMP | X509_FLAG_NO_SIGNAME;
2067.           X509_print_ex(bio_err, ret, nameopt, certopt);
                ^
2068.       }
2069.   

crypto/asn1/t_x509.c:105:1: Parameter `*x->cert_info->validity->notBefore->data`
  103.   }
  104.   
  105. > int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
  106.                     unsigned long cflag)
  107.   {

crypto/asn1/t_x509.c:193:14: Call
  191.           if (BIO_write(bp, "            Not Before: ", 24) <= 0)
  192.               goto err;
  193.           if (!ASN1_TIME_print(bp, X509_get_notBefore(x)))
                      ^
  194.               goto err;
  195.           if (BIO_write(bp, "\n            Not After : ", 25) <= 0)

crypto/asn1/t_x509.c:392:1: Parameter `*tm->data`
    390.   }
    391.   
    392. > int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm)
    393.   {
    394.       if (tm->type == V_ASN1_UTCTIME)

crypto/asn1/t_x509.c:397:16: Call
    395.           return ASN1_UTCTIME_print(bp, tm);
    396.       if (tm->type == V_ASN1_GENERALIZEDTIME)
    397.           return ASN1_GENERALIZEDTIME_print(bp, tm);
                          ^
    398.       BIO_write(bp, "Bad time value", 14);
    399.       return (0);

crypto/asn1/t_x509.c:407:1: <Offset trace>
405.   };
406.   
407. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
408.   {
409.       char *v;

crypto/asn1/t_x509.c:407:1: Parameter `*tm->data`
      405.   };
      406.   
      407. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
      408.   {
      409.       char *v;

crypto/asn1/t_x509.c:428:5: Assignment
      426.       y = (v[0] - '0') * 1000 + (v[1] - '0') * 100
      427.           + (v[2] - '0') * 10 + (v[3] - '0');
      428.       M = (v[4] - '0') * 10 + (v[5] - '0');
                 ^
      429.       if ((M > 12) || (M < 1))
      430.           goto err;

crypto/asn1/t_x509.c:402:1: <Length trace>
400.   }
401.   
402. > static const char *mon[12] = {
403.       "Jan", "Feb", "Mar", "Apr", "May", "Jun",
404.       "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

crypto/asn1/t_x509.c:402:1: Array declaration
      400.   }
      401.   
      402. > static const char *mon[12] = {
      403.       "Jan", "Feb", "Mar", "Apr", "May", "Jun",
      404.       "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

crypto/asn1/t_x509.c:449:20: Array access: Offset: [-529, +oo] Size: 12 by call to `X509_print_ex` 
      447.   
      448.       if (BIO_printf(bp, "%s %2d %02d:%02d:%02d%.*s %d%s",
      449.                      mon[M - 1], d, h, m, s, f_len, f, y,
                                ^
      450.                      (gmt) ? " GMT" : "") <= 0)
      451.           return (0);
