crypto/x509v3/v3_cpols.c:127: error: BUFFER_OVERRUN_L3
  Offset: [2, +oo] Size: [1, +oo] by call to `OBJ_txt2obj`.
Showing all 15 steps of the trace


crypto/x509v3/v3_cpols.c:101:10: Call
99.   	int i, ia5org;
100.   	pols = sk_POLICYINFO_new_null();
101.   	vals =  X509V3_parse_list(value);
                ^
102.   	ia5org = 0;
103.   	for(i = 0; i < sk_num(vals); i++) {

crypto/x509v3/v3_utl.c:244:12: Call
  242.   			} else if(c == ',') {
  243.   				*p = 0;
  244.   				ntmp = strip_spaces(q);
                    ^
  245.   				q = p + 1;
  246.   #ifdef DEBUG

crypto/x509v3/v3_utl.c:309:1: Parameter `name->strlen`
    307.   
    308.   /* Delete leading and trailing spaces from a string */
    309. > static char *strip_spaces(char *name)
    310.   {
    311.   	char *p, *q;

crypto/x509v3/v3_utl.c:253:5: Call
  251.   					goto err;
  252.   				}
  253.   				X509V3_add_value(ntmp, NULL, &values);
             ^
  254.   			}
  255.   			break ;

crypto/x509v3/v3_utl.c:74:2: Assignment
    72.   {
    73.   	CONF_VALUE *vtmp = NULL;
    74.   	char *tname = NULL, *tvalue = NULL;
           ^
    75.   	if(name && !(tname = BUF_strdup(name))) goto err;
    76.   	if(value && !(tvalue = BUF_strdup(value))) goto err;;

crypto/x509v3/v3_utl.c:80:2: Assignment
    78.   	if(!*extlist && !(*extlist = sk_new(NULL))) goto err;
    79.   	vtmp->section = NULL;
    80.   	vtmp->name = tname;
           ^
    81.   	vtmp->value = tvalue;
    82.   	if(!sk_push(*extlist, (char *)vtmp)) goto err;

crypto/x509v3/v3_cpols.c:127:16: Call
125.   			if(!pol) goto err;
126.   		} else {
127.   			if(!(pobj = OBJ_txt2obj(cnf->name, 0))) {
                      ^
128.   				X509V3err(X509V3_F_R2I_CERTPOL,X509V3_R_INVALID_OBJECT_IDENTIFIER);
129.   				X509V3_conf_err(cnf);

crypto/objects/obj_dat.c:384:1: Parameter `*s`
  382.    */
  383.   
  384. > ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name)
  385.   	{
  386.   	int nid = NID_undef;

crypto/objects/obj_dat.c:398:4: Call
  396.   
  397.   	/* Work out size of content octets */
  398.   	i=a2d_ASN1_OBJECT(NULL,0,s,-1);
            ^
  399.   	if (i <= 0) {
  400.   		/* Clear the error */

crypto/asn1/a_object.c:83:1: <Length trace>
81.   	}
82.   
83. > int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num)
84.   	{
85.   	int i,first,len=0,c;

crypto/asn1/a_object.c:83:1: Parameter `*buf`
    81.   	}
    82.   
    83. > int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num)
    84.   	{
    85.   	int i,first,len=0,c;

crypto/asn1/a_object.c:95:2: Assignment
    93.   		num=strlen(buf);
    94.   
    95.   	p=buf;
           ^
    96.   	c= *(p++);
    97.   	num--;

crypto/asn1/a_object.c:96:7: Assignment
    94.   
    95.   	p=buf;
    96.   	c= *(p++);
                ^
    97.   	num--;
    98.   	if ((c >= '0') && (c <= '2'))

crypto/asn1/a_object.c:113:7: Assignment
    111.   		goto err;
    112.   		}
    113.   	c= *(p++);
                 ^
    114.   	num--;
    115.   	for (;;)

crypto/asn1/a_object.c:128:7: Array access: Offset: [2, +oo] Size: [1, +oo] by call to `OBJ_txt2obj` 
    126.   			if (num <= 0) break;
    127.   			num--;
    128.   			c= *(p++);
                 ^
    129.   			if ((c == ' ') || (c == '.'))
    130.   				break;
