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


apps/ca.c:2012:7: Call
2010.   	else ASN1_UTCTIME_set_string(X509_get_notAfter(ret),enddate);
2011.   
2012.   	if (!X509_set_subject_name(ret,subject)) goto err;
              ^
2013.   
2014.   	pktmp=X509_REQ_get_pubkey(req);

crypto/x509/x509_set.c:101:1: Parameter `*x->cert_info->subject`
  99.   	}
  100.   
  101. > int X509_set_subject_name(X509 *x, X509_NAME *name)
  102.   	{
  103.   	if ((x == NULL) || (x->cert_info == NULL)) return(0);

apps/ca.c:2094:8: Call
2092.   	if( email_dn == 0 )
2093.   		{
2094.   		if (!X509_set_subject_name(ret,dn_subject)) goto err;
               ^
2095.   		}
2096.   

crypto/x509/x509_set.c:101:1: Parameter `*x->cert_info->subject`
  99.   	}
  100.   
  101. > int X509_set_subject_name(X509 *x, X509_NAME *name)
  102.   	{
  103.   	if ((x == NULL) || (x->cert_info == NULL)) return(0);

apps/ca.c:2102:3: Call
2100.   		/* Never print signature details because signature not present */
2101.   		certopt |= X509_FLAG_NO_SIGDUMP | X509_FLAG_NO_SIGNAME;
2102.   		X509_print_ex(bio_err, ret, nameopt, certopt); 
          ^
2103.   		}
2104.   

crypto/asn1/t_x509.c:104:1: Parameter `*x->cert_info->validity->notBefore->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:188:8: Call
  186.   		if (BIO_write(bp,"        Validity\n",17) <= 0) goto err;
  187.   		if (BIO_write(bp,"            Not Before: ",24) <= 0) goto err;
  188.   		if (!ASN1_TIME_print(bp,X509_get_notBefore(x))) goto err;
                ^
  189.   		if (BIO_write(bp,"\n            Not After : ",25) <= 0) goto err;
  190.   		if (!ASN1_TIME_print(bp,X509_get_notAfter(x))) goto err;

crypto/asn1/t_x509.c:336:1: Parameter `*tm->data`
    334.   	}
    335.   
    336. > int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm)
    337.   {
    338.   	if(tm->type == V_ASN1_UTCTIME) return ASN1_UTCTIME_print(bp, tm);

crypto/asn1/t_x509.c:340:12: Call
    338.   	if(tm->type == V_ASN1_UTCTIME) return ASN1_UTCTIME_print(bp, tm);
    339.   	if(tm->type == V_ASN1_GENERALIZEDTIME)
    340.   				return ASN1_GENERALIZEDTIME_print(bp, tm);
                      ^
    341.   	BIO_write(bp,"Bad time value",14);
    342.   	return(0);

crypto/asn1/t_x509.c:351:1: <Offset trace>
349.       };
350.   
351. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
352.   	{
353.   	char *v;

crypto/asn1/t_x509.c:351:1: Parameter `*tm->data`
      349.       };
      350.   
      351. > int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
      352.   	{
      353.   	char *v;

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

crypto/asn1/t_x509.c:345:1: <Length trace>
343.   }
344.   
345. > static const char *mon[12]=
346.       {
347.       "Jan","Feb","Mar","Apr","May","Jun",

crypto/asn1/t_x509.c:345:1: Array declaration
      343.   }
      344.   
      345. > static const char *mon[12]=
      346.       {
      347.       "Jan","Feb","Mar","Apr","May","Jun",

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