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


apps/ca.c:1276:5: Assignment
1274.   			else
1275.   				{
1276.   				*(n++)='0';
            ^
1277.   				*(n++)='0';
1278.   				}

apps/ca.c:1289:4: Call
1287.   				goto err;
1288.   				}
1289.   			write_new_certificate(Cout,x, 0, notext);
           ^
1290.   			write_new_certificate(Sout,x, output_der, notext);
1291.   			}

apps/ca.c:2183:1: Parameter `*x->cert_info->validity->notAfter->data`
  2181.   	}
  2182.   
  2183. > static void write_new_certificate(BIO *bp, X509 *x, int output_der, int notext)
  2184.   	{
  2185.   

apps/ca.c:2203:14: Call
  2201.   	BIO_puts(bp,"\n\n");
  2202.   #endif
  2203.   	if (!notext)X509_print(bp,x);
                       ^
  2204.   	PEM_write_bio_X509(bp,x);
  2205.   	}

crypto/asn1/t_x509.c:99:1: Parameter `*x->cert_info->validity->notAfter->data`
    97.   #endif
    98.   
    99. > int X509_print(BIO *bp, X509 *x)
    100.   {
    101.   	return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT);

crypto/asn1/t_x509.c:101:9: Call
    99.   int X509_print(BIO *bp, X509 *x)
    100.   {
    101.   	return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT);
                   ^
    102.   }
    103.   

crypto/asn1/t_x509.c:104:1: Parameter `*x->cert_info->validity->notAfter->data`
      102.   }
      103.   
      104. > int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag)
      105.   	{
      106.   	long l;

crypto/asn1/t_x509.c:191:8: Call
      189.   		if (!ASN1_TIME_print(bp,X509_get_notBefore(x))) goto err;
      190.   		if (BIO_write(bp,"\n            Not After : ",25) <= 0) goto err;
      191.   		if (!ASN1_TIME_print(bp,X509_get_notAfter(x))) goto err;
                    ^
      192.   		if (BIO_write(bp,"\n",1) <= 0) goto err;
      193.   		}

crypto/asn1/t_x509.c:361:1: Parameter `*tm->data`
        359.   	}
        360.   
        361. > int ASN1_TIME_print(BIO *bp, ASN1_TIME *tm)
        362.   {
        363.   	if(tm->type == V_ASN1_UTCTIME) return ASN1_UTCTIME_print(bp, tm);

crypto/asn1/t_x509.c:365:12: Call
        363.   	if(tm->type == V_ASN1_UTCTIME) return ASN1_UTCTIME_print(bp, tm);
        364.   	if(tm->type == V_ASN1_GENERALIZEDTIME)
        365.   				return ASN1_GENERALIZEDTIME_print(bp, tm);
                          ^
        366.   	BIO_write(bp,"Bad time value",14);
        367.   	return(0);

crypto/asn1/t_x509.c:376:1: <Offset trace>
374.       };
375.   
376. > int ASN1_GENERALIZEDTIME_print(BIO *bp, ASN1_GENERALIZEDTIME *tm)
377.   	{
378.   	char *v;

crypto/asn1/t_x509.c:376:1: Parameter `*tm->data`
          374.       };
          375.   
          376. > int ASN1_GENERALIZEDTIME_print(BIO *bp, ASN1_GENERALIZEDTIME *tm)
          377.   	{
          378.   	char *v;

crypto/asn1/t_x509.c:391:2: Assignment
          389.   		if ((v[i] > '9') || (v[i] < '0')) goto err;
          390.   	y= (v[0]-'0')*1000+(v[1]-'0')*100 + (v[2]-'0')*10+(v[3]-'0');
          391.   	M= (v[4]-'0')*10+(v[5]-'0');
                  ^
          392.   	if ((M > 12) || (M < 1)) goto err;
          393.   	d= (v[6]-'0')*10+(v[7]-'0');

crypto/asn1/t_x509.c:370:1: <Length trace>
368.   }
369.   
370. > static const char *mon[12]=
371.       {
372.       "Jan","Feb","Mar","Apr","May","Jun",

crypto/asn1/t_x509.c:370:1: Array declaration
          368.   }
          369.   
          370. > static const char *mon[12]=
          371.       {
          372.       "Jan","Feb","Mar","Apr","May","Jun",

crypto/asn1/t_x509.c:401:3: Array access: Offset: [-529, +oo] Size: 12 by call to `write_new_certificate` 
          399.   
          400.   	if (BIO_printf(bp,"%s %2d %02d:%02d:%02d %d%s",
          401.   		mon[M-1],d,h,m,s,y,(gmt)?" GMT":"") <= 0)
                   ^
          402.   		return(0);
          403.   	else
