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


apps/ca.c:1966:9: Call
1964.       }
1965.       if (!notext)
1966.           X509_print(bp, x);
                ^
1967.       PEM_write_bio_X509(bp, x);
1968.   }

crypto/x509/t_x509.c:92:1: Parameter `*x->cert_info.validity.notAfter->data`
  90.   #endif
  91.   
  92. > int X509_print(BIO *bp, X509 *x)
  93.   {
  94.       return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT);

crypto/x509/t_x509.c:94:12: Call
  92.   int X509_print(BIO *bp, X509 *x)
  93.   {
  94.       return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT);
                   ^
  95.   }
  96.   

crypto/x509/t_x509.c:97:1: Parameter `*x->cert_info.validity.notAfter->data`
    95.   }
    96.   
    97. > int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
    98.                     unsigned long cflag)
    99.   {

crypto/x509/t_x509.c:187:14: Call
    185.           if (BIO_write(bp, "\n            Not After : ", 25) <= 0)
    186.               goto err;
    187.           if (!ASN1_TIME_print(bp, X509_get_notAfter(x)))
                        ^
    188.               goto err;
    189.           if (BIO_write(bp, "\n", 1) <= 0)

crypto/asn1/a_time.c:202:1: Parameter `*tm->data`
      200.   }
      201.   
      202. > int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm)
      203.   {
      204.       if (tm->type == V_ASN1_UTCTIME)

crypto/asn1/a_time.c:207:16: Call
      205.           return ASN1_UTCTIME_print(bp, tm);
      206.       if (tm->type == V_ASN1_GENERALIZEDTIME)
      207.           return ASN1_GENERALIZEDTIME_print(bp, tm);
                            ^
      208.       BIO_write(bp, "Bad time value", 14);
      209.       return (0);

crypto/asn1/a_gentm.c:266:1: <Offset trace>
264.   };
265.   
266. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
267.   {
268.       char *v;

crypto/asn1/a_gentm.c:266:1: Parameter `*tm->data`
        264.   };
        265.   
        266. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
        267.   {
        268.       char *v;

crypto/asn1/a_gentm.c:287:5: Assignment
        285.       y = (v[0] - '0') * 1000 + (v[1] - '0') * 100
        286.           + (v[2] - '0') * 10 + (v[3] - '0');
        287.       M = (v[4] - '0') * 10 + (v[5] - '0');
                   ^
        288.       if ((M > 12) || (M < 1))
        289.           goto err;

crypto/asn1/a_gentm.c:261:1: <Length trace>
259.   }
260.   
261. > const char *_asn1_mon[12] = {
262.       "Jan", "Feb", "Mar", "Apr", "May", "Jun",
263.       "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

crypto/asn1/a_gentm.c:261:1: Array declaration
        259.   }
        260.   
        261. > const char *_asn1_mon[12] = {
        262.       "Jan", "Feb", "Mar", "Apr", "May", "Jun",
        263.       "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"

crypto/asn1/a_gentm.c:308:20: Array access: Offset: [-529, +oo] Size: 12 by call to `X509_print` 
        306.   
        307.       if (BIO_printf(bp, "%s %2d %02d:%02d:%02d%.*s %d%s",
        308.                      _asn1_mon[M - 1], d, h, m, s, f_len, f, y,
                                  ^
        309.                      (gmt) ? " GMT" : "") <= 0)
        310.           return (0);
