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


apps/ca.c:2064:14: Call
2062.       /* Set the right value for the noemailDN option */
2063.       if (email_dn == 0) {
2064.           if (!X509_set_subject_name(ret, dn_subject))
                     ^
2065.               goto err;
2066.       }

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:2074:9: Call
2072.            */
2073.           certopt |= X509_FLAG_NO_SIGDUMP | X509_FLAG_NO_SIGNAME;
2074.           X509_print_ex(bio_err, ret, nameopt, certopt);
                ^
2075.       }
2076.   

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:185:14: Call
  183.           if (BIO_write(bp, "            Not Before: ", 24) <= 0)
  184.               goto err;
  185.           if (!ASN1_TIME_print(bp, X509_get_notBefore(x)))
                      ^
  186.               goto err;
  187.           if (BIO_write(bp, "\n            Not After : ", 25) <= 0)

crypto/asn1/t_x509.c:384:1: Parameter `*tm->data`
    382.   }
    383.   
    384. > int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm)
    385.   {
    386.       if (tm->type == V_ASN1_UTCTIME)

crypto/asn1/t_x509.c:389:16: Call
    387.           return ASN1_UTCTIME_print(bp, tm);
    388.       if (tm->type == V_ASN1_GENERALIZEDTIME)
    389.           return ASN1_GENERALIZEDTIME_print(bp, tm);
                          ^
    390.       BIO_write(bp, "Bad time value", 14);
    391.       return (0);

crypto/asn1/t_x509.c:399:1: <Offset trace>
397.   };
398.   
399. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
400.   {
401.       char *v;

crypto/asn1/t_x509.c:399:1: Parameter `*tm->data`
      397.   };
      398.   
      399. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
      400.   {
      401.       char *v;

crypto/asn1/t_x509.c:420:5: Assignment
      418.       y = (v[0] - '0') * 1000 + (v[1] - '0') * 100
      419.           + (v[2] - '0') * 10 + (v[3] - '0');
      420.       M = (v[4] - '0') * 10 + (v[5] - '0');
                 ^
      421.       if ((M > 12) || (M < 1))
      422.           goto err;

crypto/asn1/t_x509.c:394:1: <Length trace>
392.   }
393.   
394. > static const char *mon[12] = {
395.       "Jan", "Feb", "Mar", "Apr", "May", "Jun",
396.       "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

crypto/asn1/t_x509.c:394:1: Array declaration
      392.   }
      393.   
      394. > static const char *mon[12] = {
      395.       "Jan", "Feb", "Mar", "Apr", "May", "Jun",
      396.       "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

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