summaryrefslogtreecommitdiffstats
path: root/package/libidn/0001-lib-punycode.c-decode_digit-Fix-integer-overflow.patch
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-04-30 23:08:48 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-01 21:45:13 +0200
commitd5097bc00e340c83ef5124c06a8c6599d1876c27 (patch)
tree5234c2d76639fb79b94ac4ba93cb4bddc415e907 /package/libidn/0001-lib-punycode.c-decode_digit-Fix-integer-overflow.patch
parentfb0432ca624c24801f7b74c5e805442ec85018fa (diff)
downloadbuildroot-d5097bc00e340c83ef5124c06a8c6599d1876c27.tar.gz
buildroot-d5097bc00e340c83ef5124c06a8c6599d1876c27.zip
libidn: bump to version 1.34
- Remove both patches (already in version) - Remove AUTORECONF = YES (patch removed) - Add hash for license files Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libidn/0001-lib-punycode.c-decode_digit-Fix-integer-overflow.patch')
-rw-r--r--package/libidn/0001-lib-punycode.c-decode_digit-Fix-integer-overflow.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/package/libidn/0001-lib-punycode.c-decode_digit-Fix-integer-overflow.patch b/package/libidn/0001-lib-punycode.c-decode_digit-Fix-integer-overflow.patch
deleted file mode 100644
index 8a8ca47a66..0000000000
--- a/package/libidn/0001-lib-punycode.c-decode_digit-Fix-integer-overflow.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From e9e81b8063b095b02cf104bb992fa9bf9515b9d8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
-Date: Fri, 1 Sep 2017 10:04:48 +0200
-Subject: [PATCH] lib/punycode.c (decode_digit): Fix integer overflow
-
-This fix is a backport from libidn2 and addresses
-CVE-2017-14062.
-
-Signed-off-by: Baruch Siach <baruch@tkos.co.il>
----
-Upstream status: commit e9e81b8063b095
-
- lib/punycode.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/lib/punycode.c b/lib/punycode.c
-index 86819a7deb85..49250a13e2cc 100644
---- a/lib/punycode.c
-+++ b/lib/punycode.c
-@@ -88,10 +88,10 @@ enum
- /* point (for use in representing integers) in the range 0 to */
- /* base-1, or base if cp does not represent a value. */
-
--static punycode_uint
--decode_digit (punycode_uint cp)
-+static unsigned
-+decode_digit (int cp)
- {
-- return cp - 48 < 10 ? cp - 22 : cp - 65 < 26 ? cp - 65 :
-+ return (unsigned) cp - 48 < 10 ? cp - 22 : cp - 65 < 26 ? cp - 65 :
- cp - 97 < 26 ? cp - 97 : base;
- }
-
---
-2.14.1
-
OpenPOWER on IntegriCloud