libtasn1: update to 4.12
This commit is contained in:
parent
05c0ccb82a
commit
2aa7b5d735
|
@ -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;
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Template build file for 'libtasn1'.
|
# Template build file for 'libtasn1'.
|
||||||
pkgname=libtasn1
|
pkgname=libtasn1
|
||||||
version=4.10
|
version=4.12
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="ASN.1 structure parser library"
|
short_desc="ASN.1 structure parser library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.gnu.org/software/libtasn1/"
|
homepage="https://www.gnu.org/software/libtasn1/"
|
||||||
license="GPL-3, LGPL-2.1"
|
license="GPL-3, LGPL-2.1"
|
||||||
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02
|
checksum=6753da2e621257f33f5b051cc114d417e5206a0818fe0b1ecfd6153f70934753
|
||||||
|
|
||||||
libtasn1-devel_package() {
|
libtasn1-devel_package() {
|
||||||
depends="${sourcepkg}-${version}_${revision}"
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
|
|
Loading…
Reference in New Issue