Sync Bugfix from CURRENT

This commit is contained in:
Dirk Meyer 2002-08-06 05:46:17 +00:00
parent 8773bb6f88
commit 6120fd5185
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64086
4 changed files with 24 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= openssl
PORTVERSION= 0.9.6e
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \

View File

@ -0,0 +1,11 @@
--- crypto/asn1/asn1_lib.c.orig Tue Jul 30 12:18:29 2002
+++ crypto/asn1/asn1_lib.c Mon Aug 5 18:25:17 2002
@@ -124,7 +124,7 @@
(int)(omax+ *pp));
#endif
- 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

View File

@ -7,6 +7,7 @@
PORTNAME= openssl
PORTVERSION= 0.9.6e
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \

View File

@ -0,0 +1,11 @@
--- crypto/asn1/asn1_lib.c.orig Tue Jul 30 12:18:29 2002
+++ crypto/asn1/asn1_lib.c Mon Aug 5 18:25:17 2002
@@ -124,7 +124,7 @@
(int)(omax+ *pp));
#endif
- 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