crypto/x509v3/v3_conf.c:278: error: BUFFER_OVERRUN_L3
  Offset: [2, +oo] Size: [1, +oo] by call to `X509V3_EXT_conf`.
Showing all 21 steps of the trace


crypto/x509v3/v3_conf.c:278:14: Call
276.   	for(i = 0; i < sk_num(nval); i++) {
277.   		val = (CONF_VALUE *)sk_value(nval, i);
278.   		if(!(ext = X509V3_EXT_conf(conf, ctx, val->name, val->value)))
                    ^
279.   								return 0;
280.   		if(crl) X509_CRL_add_ext(crl, ext, -1);

crypto/x509v3/v3_conf.c:97:8: Call
  95.   	if((ext_type = v3_check_generic(&value))) 
  96.   		return v3_generic_extension(name, value, crit, ext_type);
  97.   	ret = do_ext_conf(conf, ctx, OBJ_sn2nid(name), crit, value);
                ^
  98.   	if(!ret) {
  99.   		X509V3err(X509V3_F_X509V3_EXT_CONF,X509V3_R_ERROR_IN_EXTENSION);

crypto/x509v3/v3_conf.c:142:15: Call
    140.   	if(method->v2i) {
    141.   		if(*value == '@') nval = CONF_get_section(conf, value + 1);
    142.   		else nval = X509V3_parse_list(value);
                         ^
    143.   		if(!nval) {
    144.   			X509V3err(X509V3_F_X509V3_EXT_CONF,X509V3_R_INVALID_EXTENSION_STRING);

crypto/x509v3/v3_utl.c:238:12: Call
      236.   			} else if(c == ',') {
      237.   				*p = 0;
      238.   				ntmp = strip_spaces(q);
                        ^
      239.   				q = p + 1;
      240.   #ifdef DEBUG

crypto/x509v3/v3_utl.c:303:1: Parameter `name->strlen`
        301.   
        302.   /* Delete leading and trailing spaces from a string */
        303. > static char *strip_spaces(char *name)
        304.   {
        305.   	char *p, *q;

crypto/x509v3/v3_utl.c:247:5: Call
      245.   					goto err;
      246.   				}
      247.   				X509V3_add_value(ntmp, NULL, &values);
                 ^
      248.   			}
      249.   			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_conf.c:278:14: Call
276.   	for(i = 0; i < sk_num(nval); i++) {
277.   		val = (CONF_VALUE *)sk_value(nval, i);
278.   		if(!(ext = X509V3_EXT_conf(conf, ctx, val->name, val->value)))
                    ^
279.   								return 0;
280.   		if(crl) X509_CRL_add_ext(crl, ext, -1);

crypto/x509v3/v3_conf.c:88:1: Parameter `*name`
  86.   /* char *name:  Name    */
  87.   /* char *value:  Value    */
  88. > X509_EXTENSION *X509V3_EXT_conf(LHASH *conf, X509V3_CTX *ctx, char *name,
  89.   	     char *value)
  90.   {

crypto/x509v3/v3_conf.c:96:10: Call
  94.   	crit = v3_check_critical(&value);
  95.   	if((ext_type = v3_check_generic(&value))) 
  96.   		return v3_generic_extension(name, value, crit, ext_type);
                 ^
  97.   	ret = do_ext_conf(conf, ctx, OBJ_sn2nid(name), crit, value);
  98.   	if(!ret) {

crypto/x509v3/v3_conf.c:205:1: Parameter `*ext`
    203.   
    204.   /* Create a generic extension: for now just handle RAW type */
    205. > static X509_EXTENSION *v3_generic_extension(const char *ext, char *value,
    206.   	     int crit, int type)
    207.   {

crypto/x509v3/v3_conf.c:213:12: Call
    211.   ASN1_OCTET_STRING *oct=NULL;
    212.   X509_EXTENSION *extension=NULL;
    213.   if(!(obj = OBJ_txt2obj(ext, 0))) {
                      ^
    214.   	X509V3err(X509V3_F_V3_GENERIC_EXTENSION,X509V3_R_EXTENSION_NAME_ERROR);
    215.   	ERR_add_error_data(2, "name=", ext);

crypto/objects/obj_dat.c:391:1: Parameter `*s`
      389.    */
      390.   
      391. > ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name)
      392.   	{
      393.   	int nid = NID_undef;

crypto/objects/obj_dat.c:405:4: Call
      403.   
      404.   	/* Work out size of content octets */
      405.   	i=a2d_ASN1_OBJECT(NULL,0,s,-1);
                ^
      406.   	if (i <= 0) {
      407.   		/* Clear the error */

crypto/asn1/a_object.c:88:1: <Length trace>
86.   	}
87.   
88. > int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num)
89.   	{
90.   	int i,first,len=0,c;

crypto/asn1/a_object.c:88:1: Parameter `*buf`
        86.   	}
        87.   
        88. > int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num)
        89.   	{
        90.   	int i,first,len=0,c;

crypto/asn1/a_object.c:100:2: Assignment
        98.   		num=strlen(buf);
        99.   
        100.   	p=buf;
                ^
        101.   	c= *(p++);
        102.   	num--;

crypto/asn1/a_object.c:101:7: Assignment
        99.   
        100.   	p=buf;
        101.   	c= *(p++);
                     ^
        102.   	num--;
        103.   	if ((c >= '0') && (c <= '2'))

crypto/asn1/a_object.c:118:7: Assignment
        116.   		goto err;
        117.   		}
        118.   	c= *(p++);
                     ^
        119.   	num--;
        120.   	for (;;)

crypto/asn1/a_object.c:133:7: Array access: Offset: [2, +oo] Size: [1, +oo] by call to `X509V3_EXT_conf` 
        131.   			if (num <= 0) break;
        132.   			num--;
        133.   			c= *(p++);
                     ^
        134.   			if ((c == ' ') || (c == '.'))
        135.   				break;
