Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gdbm for openSUSE:Factory checked in at 2023-08-13 19:17:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdbm (Old) and /work/SRC/openSUSE:Factory/.gdbm.new.11712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdbm" Sun Aug 13 19:17:33 2023 rev:44 rq:1103594 version:1.23 Changes: -------- --- /work/SRC/openSUSE:Factory/gdbm/gdbm.changes 2022-02-11 23:06:34.638467172 +0100 +++ /work/SRC/openSUSE:Factory/.gdbm.new.11712/gdbm.changes 2023-08-13 19:17:35.275964655 +0200 @@ -1,0 +2,7 @@ +Tue Aug 8 17:02:38 UTC 2023 - Danilo Spinella <[email protected]> + +- Fix bsc#1209583, gdbm_load and gdbm_dump receive a SEGFAULT if + run without arguments + bsc1209583.patch + +------------------------------------------------------------------- New: ---- bsc1209583.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdbm.spec ++++++ --- /var/tmp/diff_new_pack.wqXouW/_old 2023-08-13 19:17:36.103969952 +0200 +++ /var/tmp/diff_new_pack.wqXouW/_new 2023-08-13 19:17:36.107969978 +0200 @@ -1,7 +1,7 @@ # # spec file for package gdbm # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,9 @@ Source4: %{name}.keyring # PATCH-FIX-SUSE: remove the build date from src/version.c Patch4: gdbm-no-build-date.patch +# PATCH-FIX-UPSTREAM [email protected] bsc#1209583 +# gdbm_load and gdbm_dump receive a SEGFAULT if run without arguments +Patch5: bsc1209583.patch BuildRequires: libtool BuildRequires: makeinfo BuildRequires: readline-devel @@ -101,8 +104,7 @@ to develop applications that require these. %prep -%setup -q -%patch4 -p1 +%autosetup -p1 %build ++++++ bsc1209583.patch ++++++ commit b5b8acfd30a8628061049757bb756e5714eedbcd Author: Sergey Poznyakoff <[email protected]> Date: Wed Feb 23 23:10:27 2022 +0200 Bugfix * tools/parseopt.c (parseopt_next): Don't call parseopt_free. This triggered coredumps if, e.g. parseopt_print_help() got called after parsing the arguments. The bug was introduced by 203601fb06 in an attempt to pacify valgrind an similar tools. diff --git a/tools/parseopt.c b/tools/parseopt.c index 2d646ff..19a6576 100644 --- a/tools/parseopt.c +++ b/tools/parseopt.c @@ -709,8 +709,5 @@ parseopt_next (void) } while (handle_option (rc)); - if (rc == EOF || rc == '?') - parseopt_free (); - return rc; }
