Hello community, here is the log from the commit of package libotr for openSUSE:Factory checked in at 2018-10-02 19:41:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libotr (Old) and /work/SRC/openSUSE:Factory/.libotr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libotr" Tue Oct 2 19:41:45 2018 rev:22 rq:638819 version:4.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libotr/libotr.changes 2018-05-23 16:04:49.663375512 +0200 +++ /work/SRC/openSUSE:Factory/.libotr.new/libotr.changes 2018-10-02 19:41:49.290173985 +0200 @@ -1,0 +2,7 @@ +Thu Sep 27 14:58:11 UTC 2018 - [email protected] + +- libotr-test-uninitialized.patch: Fix use of uninitialized memory in + testsuite +- Don't disable testsuite on ppc + +------------------------------------------------------------------- New: ---- libotr-test-uninitialized.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libotr.spec ++++++ --- /var/tmp/diff_new_pack.y0qc1F/_old 2018-10-02 19:41:49.854173147 +0200 +++ /var/tmp/diff_new_pack.y0qc1F/_new 2018-10-02 19:41:49.858173141 +0200 @@ -28,6 +28,7 @@ Source2: http://www.cypherpunks.ca/otr/gpgkey.asc#/libotr.keyring Patch0: libotr-4.1.1-fix-base64-tests.patch Patch1: libotr-test-underrun.patch +Patch2: libotr-test-uninitialized.patch BuildRequires: libgcrypt-devel >= 1.2.0 BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,9 +47,9 @@ %package -n libotr5 Summary: "Off The Record" messaging library toolkit -#openSUSE 10.3 License: LGPL-2.1-only Group: Development/Libraries/C and C++ +#openSUSE 10.3 Provides: %{name} = %{version} Obsoletes: %{name} <= 3.0.0 @@ -95,6 +96,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %ifarch %arm @@ -106,10 +108,7 @@ make %{?_smp_mflags} %check -# https://bugs.otr.im/issues/129 -%ifnarch ppc ppc64 ppc64le make %{?_smp_mflags} check -%endif %install make %{?_smp_mflags} DESTDIR=%{buildroot} install ++++++ libotr-test-uninitialized.patch ++++++ Index: libotr-4.1.1/tests/unit/test_auth.c =================================================================== --- libotr-4.1.1.orig/tests/unit/test_auth.c +++ libotr-4.1.1/tests/unit/test_auth.c @@ -67,6 +67,7 @@ static void test_auth_clear(void) OtrlAuthInfo *auth = &ctx.auth; /* API call. */ + otrl_auth_new(&ctx); otrl_auth_clear(auth); ok(auth->authstate == OTRL_AUTHSTATE_NONE &&
