Hello community, here is the log from the commit of package tcsh for openSUSE:Factory checked in at 2012-05-10 14:34:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tcsh (Old) and /work/SRC/openSUSE:Factory/.tcsh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tcsh", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/tcsh/tcsh.changes 2012-02-25 07:31:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.tcsh.new/tcsh.changes 2012-05-10 14:34:57.000000000 +0200 @@ -1,0 +2,5 @@ +Thu May 10 08:00:39 UTC 2012 - [email protected] + +- Fix tcsh segfaults in bb_cleanup() (bnc#761353) + +------------------------------------------------------------------- New: ---- tcsh-6.18.01-blk_buf.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tcsh.spec ++++++ --- /var/tmp/diff_new_pack.VvmKbG/_old 2012-05-10 14:34:59.000000000 +0200 +++ /var/tmp/diff_new_pack.VvmKbG/_new 2012-05-10 14:34:59.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package tcsh (Version 6.18.00) +# spec file for package tcsh # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,22 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: tcsh BuildRequires: ncurses-devel Url: http://www.tcsh.org/ -License: BSD-3-Clause -Group: System/Shells -Requires: gawk textutils +Requires: gawk +Requires: textutils %if %suse_version > 1020 Recommends: tcsh-lang = 6.18.00 %endif -AutoReqProv: on Version: 6.18.00 -Release: 1 +Release: 0 Summary: The C SHell +License: BSD-3-Clause +Group: System/Shells Source: ftp.astron.com:/pub/tcsh/tcsh-6.18.00.tar.gz Source2: bindkey.tcsh Source3: complete.tcsh @@ -41,6 +39,7 @@ Patch4: tcsh-6.17.03-colorls.dif Patch5: tcsh-6.17.06-dspmbyte.dif Patch6: tcsh-6.17.10-catalogs.dif +Patch7: tcsh-6.18.01-blk_buf.patch Patch42: tcsh-6.18.01.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -59,7 +58,6 @@ Scott Krotz <[email protected]> %package -n tcsh-lang -License: BSD-3-Clause Summary: Languages for package tcsh Group: System/Localization Provides: tcsh-lang = %{version} @@ -78,6 +76,7 @@ %patch4 -p0 -b .colorls %patch5 -p0 -b .dspmbyte %patch6 -p0 -b .catalogs +%patch7 -p0 -b .blk_buf %patch -b .0 %build ++++++ tcsh-6.18.01-blk_buf.patch ++++++ --- tc.str.c +++ tc.str.c 2012-05-10 07:57:01.358065084 +0000 @@ -590,10 +590,14 @@ bb_cleanup(void *xbb) struct blk_buf *bb; size_t i; - bb = xbb; - for (i = 0; i < bb->len; i++) - xfree(bb->vec[i]); - xfree(bb->vec); + bb = (struct blk_buf *)xbb; + if (bb->vec) { + for (i = 0; i < bb->len; i++) + xfree(bb->vec[i]); + xfree(bb->vec); + } + bb->vec = (Char**)0; + bb->len = 0; } void -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
