Hello community, here is the log from the commit of package libksba checked in at Sat Jan 12 02:54:40 CET 2008. -------- --- libksba/libksba.changes 2007-07-30 15:20:44.000000000 +0200 +++ /mounts/work_src_done/STABLE/libksba/libksba.changes 2008-01-10 22:44:14.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Jan 10 18:21:20 CET 2008 - bk@suse.de + +- Add missing initialsation, fixes gpgsm crash in GPG's make check + +------------------------------------------------------------------- New: ---- libksba-1.0.2-initialize-node.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libksba.spec ++++++ --- /var/tmp/diff_new_pack.g26573/_old 2008-01-12 02:47:45.000000000 +0100 +++ /var/tmp/diff_new_pack.g26573/_new 2008-01-12 02:47:45.000000000 +0100 @@ -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 @@ %patch1 %endif %patch2 +%patch3 %build libtoolize --force @@ -75,6 +77,7 @@ --libdir=%{_libdir} \ --infodir=%{_infodir} make +make check %install make DESTDIR=$RPM_BUILD_ROOT install @@ -103,6 +106,8 @@ /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. ++++++ libksba-1.0.2-initialize-node.diff ++++++ 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; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org