This commit is contained in:
Dr. Stephen Henson 2002-08-02 19:03:41 +00:00
parent b012127a99
commit f1e1d6d6af

View File

@ -125,7 +125,7 @@ int ASN1_get_object(unsigned char **pp, long *plength, int *ptag, int *pclass,
(int)(omax+ *pp));
#endif
if (*plength > (omax - (*p - *pp)))
if (*plength > (omax - (p - *pp)))
{
ASN1err(ASN1_F_ASN1_GET_OBJECT,ASN1_R_TOO_LONG);
/* Set this so that even if things are not long enough