From: Jakub Bogusz Date: Mon, 12 Aug 2002 10:35:08 +0000 (+0000) Subject: - one more fix from 0.9.6f X-Git-Tag: openssl-0_9_6c-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fopenssl.git;a=commitdiff_plain;h=d1002cd6693fc45f0bc33b7e4e397d2f5207bab2 - one more fix from 0.9.6f Changed files: openssl-0.9.6c-security.patch -> 1.3 --- diff --git a/openssl-0.9.6c-security.patch b/openssl-0.9.6c-security.patch index 3244b0c..f994eb9 100644 --- a/openssl-0.9.6c-security.patch +++ b/openssl-0.9.6c-security.patch @@ -37,7 +37,7 @@ #endif -#if 0 - if ((p+ *plength) > (omax+ *pp)) -+ if (*plength > (omax - (*pp - p))) ++ 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