From 2aa7b5d7351630aba4eb8e2b005925f1eeae01d6 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 29 May 2017 10:17:30 +0200 Subject: [PATCH] libtasn1: update to 4.12 --- srcpkgs/libtasn1/patches/CVE-2017-6891.patch | 24 -------------------- srcpkgs/libtasn1/template | 8 +++---- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/libtasn1/patches/CVE-2017-6891.patch diff --git a/srcpkgs/libtasn1/patches/CVE-2017-6891.patch b/srcpkgs/libtasn1/patches/CVE-2017-6891.patch deleted file mode 100644 index 6466d7acac..0000000000 --- a/srcpkgs/libtasn1/patches/CVE-2017-6891.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/lib/parser_aux.c b/lib/parser_aux.c -index b4a7370..976ab38 100644 (file) ---- lib/parser_aux.c -+++ lib/parser_aux.c -@@ -120,6 +120,9 @@ asn1_find_node (asn1_node pointer, const char *name) - if (n_end) - { - nsize = n_end - n_start; -+ if (nsize >= sizeof(n)) -+ return NULL; -+ - memcpy (n, n_start, nsize); - n[nsize] = 0; - n_start = n_end; -@@ -158,6 +161,9 @@ asn1_find_node (asn1_node pointer, const char *name) - if (n_end) - { - nsize = n_end - n_start; -+ if (nsize >= sizeof(n)) -+ return NULL; -+ - memcpy (n, n_start, nsize); - n[nsize] = 0; - n_start = n_end; diff --git a/srcpkgs/libtasn1/template b/srcpkgs/libtasn1/template index 957a51544b..1d77f0a003 100644 --- a/srcpkgs/libtasn1/template +++ b/srcpkgs/libtasn1/template @@ -1,15 +1,15 @@ # Template build file for 'libtasn1'. pkgname=libtasn1 -version=4.10 -revision=2 +version=4.12 +revision=1 build_style=gnu-configure hostmakedepends="perl" short_desc="ASN.1 structure parser library" maintainer="Juan RP " -homepage="http://www.gnu.org/software/libtasn1/" +homepage="https://www.gnu.org/software/libtasn1/" license="GPL-3, LGPL-2.1" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" -checksum=681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02 +checksum=6753da2e621257f33f5b051cc114d417e5206a0818fe0b1ecfd6153f70934753 libtasn1-devel_package() { depends="${sourcepkg}-${version}_${revision}"