apps/s_cb.c:186: error: BUFFER_OVERRUN_L3
  Offset: [-529, +oo] Size: 12 by call to `ASN1_TIME_print`.
Showing all 9 steps of the trace


apps/s_cb.c:186:9: Call
184.       case X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD:
185.           BIO_printf(bio_err, "notBefore=");
186.           ASN1_TIME_print(bio_err, X509_get_notBefore(err_cert));
               ^
187.           BIO_printf(bio_err, "\n");
188.           break;

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 `ASN1_TIME_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);
