From d1002cd6693fc45f0bc33b7e4e397d2f5207bab2 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 12 Aug 2002 10:35:08 +0000 Subject: [PATCH] - one more fix from 0.9.6f Changed files: openssl-0.9.6c-security.patch -> 1.3 --- openssl-0.9.6c-security.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0