Sync Bugfix from CURRENT
This commit is contained in:
parent
8773bb6f88
commit
6120fd5185
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64086
@ -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/ \
|
||||
|
11
security/openssl-beta/files/patch-asn1_lib.c
Normal file
11
security/openssl-beta/files/patch-asn1_lib.c
Normal 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
|
@ -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/ \
|
||||
|
11
security/openssl/files/patch-asn1_lib.c
Normal file
11
security/openssl/files/patch-asn1_lib.c
Normal 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
|
Loading…
Reference in New Issue
Block a user