crypto/x509v3/v3_alt.c:158: error: BUFFER_OVERRUN_L2
  Offset added: [1, 256] Size: 32 by call to `i2t_ASN1_OBJECT`.
Showing all 7 steps of the trace


crypto/x509v3/v3_alt.c:158:3: Call
156.   
157.   		case GEN_RID:
158.   		i2t_ASN1_OBJECT(oline, 256, gen->d.rid);
         ^
159.   		X509V3_add_value("Registered ID",oline, &ret);
160.   		break;

crypto/asn1/a_object.c:178:1: <Offset trace>
176.   	}
177.   
178. > int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a)
179.   	{
180.   	int i,idx=0,n=0,len,nid;

crypto/asn1/a_object.c:178:1: Parameter `buf_len`
  176.   	}
  177.   
  178. > int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a)
  179.   	{
  180.   	int i,idx=0,n=0,len,nid;

crypto/asn1/a_object.c:217:3: Assignment
  215.   		i=strlen(tbuf);
  216.   		strncpy(buf,tbuf,buf_len);
  217.   		buf_len-=i;
           ^
  218.   		buf+=i;
  219.   		n+=i;

crypto/asn1/a_object.c:178:1: <Length trace>
176.   	}
177.   
178. > int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a)
179.   	{
180.   	int i,idx=0,n=0,len,nid;

crypto/asn1/a_object.c:178:1: Array declaration
  176.   	}
  177.   
  178. > int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a)
  179.   	{
  180.   	int i,idx=0,n=0,len,nid;

crypto/asn1/a_object.c:230:6: Array access: Offset added: [1, 256] Size: 32 by call to `i2t_ASN1_OBJECT` 
  228.   				i=strlen(tbuf);
  229.   				if (buf_len > 0)
  230.   					strncpy(buf,tbuf,buf_len);
              ^
  231.   				buf_len-=i;
  232.   				buf+=i;
