Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2016 19:35:41 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r306352 - in user/cperciva/freebsd-update-build/patches: 10.1-RELEASE 10.2-RELEASE 10.3-RELEASE 9.3-RELEASE
Message-ID:  <201609261935.u8QJZf8k014798@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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--;
+         /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609261935.u8QJZf8k014798>