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


apps/x509.c:681:17: Call
679.                       goto end;
680.                   BN_free(bnser);
681.                   i2a_ASN1_INTEGER(out, ser);
                       ^
682.                   ASN1_INTEGER_free(ser);
683.                   BIO_puts(out, "\n");

crypto/asn1/f_int.c:64:1: Parameter `*a->data`
  62.   #include <openssl/asn1.h>
  63.   
  64. > int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a)
  65.   {
  66.       int i, n = 0;

apps/x509.c:786:17: Call
784.                   OPENSSL_free(m);
785.               } else if (text == i) {
786.                   X509_print_ex(out, x, nmflag, certflag);
                       ^
787.               } else if (startdate == i) {
788.                   BIO_puts(out, "notBefore=");

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:191:14: Call
  189.           if (BIO_write(bp, "            Not Before: ", 24) <= 0)
  190.               goto err;
  191.           if (!ASN1_TIME_print(bp, X509_get_notBefore(x)))
                      ^
  192.               goto err;
  193.           if (BIO_write(bp, "\n            Not After : ", 25) <= 0)

crypto/asn1/t_x509.c:388:1: Parameter `*tm->data`
    386.   }
    387.   
    388. > int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm)
    389.   {
    390.       if (tm->type == V_ASN1_UTCTIME)

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

crypto/asn1/t_x509.c:403:1: <Offset trace>
401.   };
402.   
403. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
404.   {
405.       char *v;

crypto/asn1/t_x509.c:403:1: Parameter `*tm->data`
      401.   };
      402.   
      403. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
      404.   {
      405.       char *v;

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

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

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

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