OBS User unknown 2008-01-12 01:54:42 +00:00 committed by Git OBS Bridge
parent 67542a5eb9
commit 8a0e227810
3 changed files with 35 additions and 8 deletions

View File

@ -0,0 +1,17 @@
gcc-4.3 said:
ber-decoder.c: In function 'decoder_next':
ber-decoder.c:769: warning: 'node' may be used uninitialized in this function
This warning fix also fixes a segfault in gpgsm in make check of GnuPG-2.0.x:
--- src/ber-decoder.c
+++ src/ber-decoder.c 2008/01/10
@@ -766,7 +766,7 @@
decoder_next (BerDecoder d)
{
struct tag_info ti;
- AsnNode node;
+ AsnNode node = NULL;
gpg_error_t err;
DECODER_STATE ds = d->ds;
int debug = d->debug;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 10 18:21:20 CET 2008 - bk@suse.de
- Add missing initialsation, fixes gpgsm crash in GPG's make check
-------------------------------------------------------------------
Mon Jul 30 15:19:09 CEST 2007 - ltinkl@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package libksba (Version 1.0.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -12,18 +12,19 @@
Name: libksba
BuildRequires: libgcrypt-devel
URL: http://www.gnupg.org/aegypten/
Url: http://www.gnupg.org/aegypten/
License: GPL v3 or later
Group: Development/Libraries/C and C++
Autoreqprov: on
AutoReqProv: on
Summary: A X.509 Library
Version: 1.0.2
Release: 1
Release: 23
# change also name and nfb
%define nld_build 0
Source: libksba-%{version}.tar.bz2
Patch1: nld-build.diff
Patch2: libksba-texi.patch
Patch3: libksba-1.0.2-initialize-node.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -65,6 +66,7 @@ Authors:
%patch1
%endif
%patch2
%patch3
%build
libtoolize --force
@ -76,14 +78,15 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure \
--infodir=%{_infodir}
make
%check
make check
%install
make DESTDIR=$RPM_BUILD_ROOT install
%post
%run_ldconfig
%post -p /sbin/ldconfig
%postun
%run_ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
@ -103,6 +106,8 @@ rm -rf %{buildroot}
/usr/share/aclocal/*
%changelog
* Thu Jan 10 2008 - bk@suse.de
- Add missing initialsation, fixes gpgsm crash in GPG's make check
* Mon Jul 30 2007 - ltinkl@suse.cz
- update to 1.0.2
* Support for SHA-2.