updated to version 4.2

This commit is contained in:
Nikos Mavrogiannopoulos 2014-09-16 17:55:22 +02:00
parent a5fcceedac
commit 70b5418b1f
4 changed files with 9 additions and 26 deletions

2
.gitignore vendored
View File

@ -17,3 +17,5 @@ libtasn1-2.7.tar.gz
/libtasn1-4.0.tar.gz.sig
/libtasn1-4.1.tar.gz.sig
/libtasn1-4.1.tar.gz
/libtasn1-4.2.tar.gz.sig
/libtasn1-4.2.tar.gz

View File

@ -1,20 +0,0 @@
diff -ur libtasn1-4.1-orig/lib/decoding.c libtasn1-4.1/lib/decoding.c
--- libtasn1-4.1-orig/lib/decoding.c 2014-08-20 21:36:55.000000000 +0200
+++ libtasn1-4.1/lib/decoding.c 2014-09-04 12:41:11.504502584 +0200
@@ -731,6 +731,7 @@
{
int len2, len3, counter, tot_len, indefinite;
int result;
+ int orig_der_len = der_len;
counter = 0;
@@ -792,7 +793,7 @@
asn1_length_der (tot_len, temp, &len2);
_asn1_set_value (node, temp, len2);
- ret = _asn1_extract_der_octet (node, der, der_len, flags);
+ ret = _asn1_extract_der_octet (node, der, orig_der_len, flags);
if (ret != ASN1_SUCCESS)
return ret;

View File

@ -1,7 +1,7 @@
Summary: The ASN.1 library used in GNUTLS
Name: libtasn1
Version: 4.1
Release: 2%{?dist}
Version: 4.2
Release: 1%{?dist}
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
License: GPLv3+ and LGPLv2+
@ -10,7 +10,6 @@ URL: http://www.gnu.org/software/libtasn1/
Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
Patch1: libtasn1-3.4-rpath.patch
Patch2: libtasn1-4.1-octet-string.patch
BuildRequires: bison, pkgconfig
%ifarch %ix86 x86_64 ppc ppc64
BuildRequires: valgrind
@ -53,7 +52,6 @@ data.
%setup -q
%patch1 -p1 -b .rpath
%patch2 -p1 -b .octet-string
%build
%configure --disable-static --disable-silent-rules
@ -108,6 +106,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
%changelog
* Tue Sep 16 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.2-1
- new upstream release
* Mon Aug 25 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.1-2
- added bug fix for octet string decoding (#1138218)

View File

@ -1,2 +1,2 @@
2692cfa43fc667d7587b411b54566215 libtasn1-4.1.tar.gz.sig
f9b37df3c2c9c6439d8bf427bfbfc521 libtasn1-4.1.tar.gz
e7064dc6f8a241d470cf51de709e7dba libtasn1-4.2.tar.gz.sig
414df906df421dee0a5cf7548788d153 libtasn1-4.2.tar.gz