svn commit: r306352 - in user/cperciva/freebsd-update-build/patches: 10.1-RELEASE 10.2-RELEASE 10.3-RELEASE 9.3-RELEASE
Gleb Smirnoff
glebius at FreeBSD.org
Mon Sep 26 19:35:42 UTC 2016
Author: glebius
Date: Mon Sep 26 19:35:41 2016
New Revision: 306352
URL: https://svnweb.freebsd.org/changeset/base/306352
Log:
Add SA-16:26 revised patches.
Added:
user/cperciva/freebsd-update-build/patches/10.1-RELEASE/39-SA-16:26.openssl
user/cperciva/freebsd-update-build/patches/10.2-RELEASE/22-SA-16:26.openssl
user/cperciva/freebsd-update-build/patches/10.3-RELEASE/9-SA-16:26.openssl
user/cperciva/freebsd-update-build/patches/9.3-RELEASE/47-SA-16:26.openssl
Added: user/cperciva/freebsd-update-build/patches/10.1-RELEASE/39-SA-16:26.openssl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/patches/10.1-RELEASE/39-SA-16:26.openssl Mon Sep 26 19:35:41 2016 (r306352)
@@ -0,0 +1,19 @@
+--- crypto/openssl/crypto/bn/bn_print.c.orig
++++ crypto/openssl/crypto/bn/bn_print.c
+@@ -141,14 +141,13 @@
+ if (BN_is_negative(t))
+ *p++ = '-';
+
+- i = 0;
+ while (!BN_is_zero(t)) {
++ if (lp - bn_data >= bn_data_num)
++ goto err;
+ *lp = BN_div_word(t, BN_DEC_CONV);
+ if (*lp == (BN_ULONG)-1)
+ goto err;
+ lp++;
+- if (lp - bn_data >= bn_data_num)
+- goto err;
+ }
+ lp--;
+ /*
Added: user/cperciva/freebsd-update-build/patches/10.2-RELEASE/22-SA-16:26.openssl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/patches/10.2-RELEASE/22-SA-16:26.openssl Mon Sep 26 19:35:41 2016 (r306352)
@@ -0,0 +1,19 @@
+--- crypto/openssl/crypto/bn/bn_print.c.orig
++++ crypto/openssl/crypto/bn/bn_print.c
+@@ -141,14 +141,13 @@
+ if (BN_is_negative(t))
+ *p++ = '-';
+
+- i = 0;
+ while (!BN_is_zero(t)) {
++ if (lp - bn_data >= bn_data_num)
++ goto err;
+ *lp = BN_div_word(t, BN_DEC_CONV);
+ if (*lp == (BN_ULONG)-1)
+ goto err;
+ lp++;
+- if (lp - bn_data >= bn_data_num)
+- goto err;
+ }
+ lp--;
+ /*
Added: user/cperciva/freebsd-update-build/patches/10.3-RELEASE/9-SA-16:26.openssl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/patches/10.3-RELEASE/9-SA-16:26.openssl Mon Sep 26 19:35:41 2016 (r306352)
@@ -0,0 +1,19 @@
+--- crypto/openssl/crypto/bn/bn_print.c.orig
++++ crypto/openssl/crypto/bn/bn_print.c
+@@ -141,14 +141,13 @@
+ if (BN_is_negative(t))
+ *p++ = '-';
+
+- i = 0;
+ while (!BN_is_zero(t)) {
++ if (lp - bn_data >= bn_data_num)
++ goto err;
+ *lp = BN_div_word(t, BN_DEC_CONV);
+ if (*lp == (BN_ULONG)-1)
+ goto err;
+ lp++;
+- if (lp - bn_data >= bn_data_num)
+- goto err;
+ }
+ lp--;
+ /*
Added: user/cperciva/freebsd-update-build/patches/9.3-RELEASE/47-SA-16:26.openssl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/cperciva/freebsd-update-build/patches/9.3-RELEASE/47-SA-16:26.openssl Mon Sep 26 19:35:41 2016 (r306352)
@@ -0,0 +1,19 @@
+--- crypto/openssl/crypto/bn/bn_print.c.orig
++++ crypto/openssl/crypto/bn/bn_print.c
+@@ -141,14 +141,13 @@
+ if (BN_is_negative(t))
+ *p++ = '-';
+
+- i = 0;
+ while (!BN_is_zero(t)) {
++ if (lp - bn_data >= bn_data_num)
++ goto err;
+ *lp = BN_div_word(t, BN_DEC_CONV);
+ if (*lp == (BN_ULONG)-1)
+ goto err;
+ lp++;
+- if (lp - bn_data >= bn_data_num)
+- goto err;
+ }
+ lp--;
+ /*
More information about the svn-src-user
mailing list