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/x509/t_x509.c:97:1: Parameter `*x->cert_info.validity.notBefore->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:183:14: Call
  181.           if (BIO_write(bp, "            Not Before: ", 24) <= 0)
  182.               goto err;
  183.           if (!ASN1_TIME_print(bp, X509_get_notBefore(x)))
                      ^
  184.               goto err;
  185.           if (BIO_write(bp, "\n            Not After : ", 25) <= 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_ex` 
      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);
