Hello community, here is the log from the commit of package rdesktop for openSUSE:Factory checked in at 2019-12-21 12:34:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rdesktop (Old) and /work/SRC/openSUSE:Factory/.rdesktop.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rdesktop" Sat Dec 21 12:34:42 2019 rev:42 rq:758655 version:1.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rdesktop/rdesktop.changes 2019-11-25 15:23:26.853288067 +0100 +++ /work/SRC/openSUSE:Factory/.rdesktop.new.6675/rdesktop.changes 2019-12-21 12:34:59.623466305 +0100 @@ -1,0 +2,8 @@ +Wed Dec 18 21:31:28 UTC 2019 - Markus Beth <markus.b...@web.de> + +- Added rdesktop-fix_segfault_in_rdssl_rkey_get_exp_mod.patch + Patch from https://github.com/rdesktop/rdesktop/pull/357 to fix + segmentation faults when connecting to certain servers +- removed obsolete --with-openssl switch for configure + +------------------------------------------------------------------- New: ---- rdesktop-fix_segfault_in_rdssl_rkey_get_exp_mod.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rdesktop.spec ++++++ --- /var/tmp/diff_new_pack.bWCviw/_old 2019-12-21 12:35:00.203466581 +0100 +++ /var/tmp/diff_new_pack.bWCviw/_new 2019-12-21 12:35:00.203466581 +0100 @@ -1,7 +1,7 @@ # # spec file for package rdesktop # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,8 @@ Patch0: rdesktop-fix_pkgconfig_check.patch # PATCH-FIX-OPENSUSE rdesktop-Fix-keymap-script.patch Patch3: rdesktop-Fix-keymap-script.patch +# PATCH-FIX-UPSTREAM rdesktop-fix_segfault_in_rdssl_rkey_get_exp_mod.patch +Patch4: rdesktop-fix_segfault_in_rdssl_rkey_get_exp_mod.patch BuildRequires: alsa-devel BuildRequires: autoconf BuildRequires: automake @@ -56,6 +58,7 @@ %setup -q %patch0 %patch3 -p1 +%patch4 -p1 ## rpmlint # incorrect-fsf-address /usr/share/rdesktop/keymaps/convert-map @@ -66,7 +69,6 @@ CFLAGS="%{optflags} -fno-strict-aliasing" \ %configure \ --enable-smartcard \ - --with-openssl=%{_prefix} \ --with-ipv6 make %{?_smp_mflags} ++++++ rdesktop-fix_segfault_in_rdssl_rkey_get_exp_mod.patch ++++++ From: Markus Beth <markus.b...@web.de> Date: 2019-12-02 11:22:13 +0100 References: https://github.com/rdesktop/rdesktop/pull/357 Upstream: merged use correct modulus and exponent in rdssl_rkey_get_exp_mod Index: rdesktop-1.9.0/ssl.c =================================================================== --- rdesktop-1.9.0.orig/ssl.c +++ rdesktop-1.9.0/ssl.c @@ -307,10 +307,10 @@ rdssl_rkey_get_exp_mod(RDSSL_RKEY * rkey { size_t outlen; - outlen = (mpz_sizeinbase(modulus, 2) + 7) / 8; + outlen = (mpz_sizeinbase(rkey->n, 2) + 7) / 8; if (outlen > max_mod_len) return 1; - outlen = (mpz_sizeinbase(exponent, 2) + 7) / 8; + outlen = (mpz_sizeinbase(rkey->e, 2) + 7) / 8; if (outlen > max_exp_len) return 1;