crypto/ocsp/ocsp_res.c:247: error: UNINITIALIZED_VALUE
  The value read from p was never initialized.
Showing all 1 steps of the trace


crypto/ocsp/ocsp_res.c:247:17: 
245.   		        break;
246.   		}
247. > 	if (pp && *pp) *pp=p;
248.   	return(r);
249.   	}

int i2d_OCSP_RESPID(OCSP_RESPID *a, unsigned char **pp)
	{
	int v=0;
	M_ASN1_I2D_vars(a);
	switch (a->tag)
		{
		case V_OCSP_RESPID_NAME:
			v = i2d_X509_NAME(a->value.byName,NULL);
			ret += ASN1_object_size(1, v, V_OCSP_RESPID_NAME);
		        if (pp==NULL) return ret;
			p=*pp;
			ASN1_put_object(&p, 1, v,
					V_OCSP_RESPID_NAME,
					V_ASN1_CONTEXT_SPECIFIC);
			i2d_X509_NAME(a->value.byName,&p);
		        break;
		case V_OCSP_RESPID_KEY:
			v = i2d_ASN1_OCTET_STRING(a->value.byKey,NULL);
			ret += ASN1_object_size(1, v, V_OCSP_RESPID_KEY);
		        if (pp==NULL) return ret;
			p=*pp;
			ASN1_put_object(&p, 1, v,
					V_OCSP_RESPID_KEY,
					V_ASN1_CONTEXT_SPECIFIC);
			i2d_ASN1_OCTET_STRING(a->value.byKey,&p);
		        break;
		}
	if (pp && *pp) *pp=p;
	return(r);
	}
['int i2d_OCSP_RESPID(OCSP_RESPID *a, unsigned char **pp)\n\t{\n\tint v=0;\n\tM_ASN1_I2D_vars(a);\n\tswitch (a->tag)\n\t\t{\n\t\tcase V_OCSP_RESPID_NAME:\n\t\t\tv = i2d_X509_NAME(a->value.byName,NULL);\n\t\t\tret += ASN1_object_size(1, v, V_OCSP_RESPID_NAME);\n\t\t        if (pp==NULL) return ret;\n\t\t\tp=*pp;\n\t\t\tASN1_put_object(&p, 1, v,\n\t\t\t\t\tV_OCSP_RESPID_NAME,\n\t\t\t\t\tV_ASN1_CONTEXT_SPECIFIC);\n\t\t\ti2d_X509_NAME(a->value.byName,&p);\n\t\t        break;\n\t\tcase V_OCSP_RESPID_KEY:\n\t\t\tv = i2d_ASN1_OCTET_STRING(a->value.byKey,NULL);\n\t\t\tret += ASN1_object_size(1, v, V_OCSP_RESPID_KEY);\n\t\t        if (pp==NULL) return ret;\n\t\t\tp=*pp;\n\t\t\tASN1_put_object(&p, 1, v,\n\t\t\t\t\tV_OCSP_RESPID_KEY,\n\t\t\t\t\tV_ASN1_CONTEXT_SPECIFIC);\n\t\t\ti2d_ASN1_OCTET_STRING(a->value.byKey,&p);\n\t\t        break;\n\t\t}\n\tif (pp && *pp) *pp=p;\n\treturn(r);\n\t}']