commit bash for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package bash for openSUSE:Factory checked in at Thu Feb 25 11:11:40 CET 2010. -------- --- bash/bash.changes 2010-02-18 11:08:05.000000000 +0100 +++ /mounts/work_src_done/STABLE/bash/bash.changes 2010-02-24 09:56:35.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Feb 24 09:55:03 CET 2010 - werner@suse.de + +- Avoid hang due malloc()/free() within signal handler (bnc#522351) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bash.spec ++++++ --- /var/tmp/diff_new_pack.gJQIhy/_old 2010-02-25 11:11:32.000000000 +0100 +++ /var/tmp/diff_new_pack.gJQIhy/_new 2010-02-25 11:11:32.000000000 +0100 @@ -28,7 +28,7 @@ Suggests: command-not-found AutoReqProv: on Version: 4.1 -Release: 1 +Release: 2 Summary: The GNU Bourne-Again Shell Url: http://www.gnu.org/software/bash/bash.html Source0: ftp://ftp.gnu.org/gnu/bash/bash-%{bash_vers}.tar.bz2 @@ -91,7 +91,7 @@ Provides: bash:%{_infodir}/bash.info.gz PreReq: %install_info_prereq Version: 4.1 -Release: 1 +Release: 2 AutoReqProv: on %if %suse_version > 1120 BuildArch: noarch @@ -114,7 +114,7 @@ Summary: Include Files mandatory for Development of bash loadable builtins Group: Development/Languages/C and C++ Version: 4.1 -Release: 1 +Release: 2 AutoReqProv: on %description -n bash-devel @@ -134,7 +134,7 @@ Summary: Loadable bash builtins Group: System/Shells Version: 4.1 -Release: 1 +Release: 2 AutoReqProv: on %description -n bash-loadables @@ -203,7 +203,7 @@ Group: System/Libraries Provides: bash:/%{_lib}/libreadline.so.%{rl_major} Version: 6.1 -Release: 1 +Release: 2 Recommends: readline-doc = %{version} # bug437293 %ifarch ppc64 @@ -232,7 +232,7 @@ Group: Development/Libraries/C and C++ Provides: bash:%{_libdir}/libreadline.a Version: 6.1 -Release: 1 +Release: 2 Requires: libreadline6 = %{version} Requires: ncurses-devel Recommends: readline-doc = %{version} @@ -261,7 +261,7 @@ Provides: readline:%{_infodir}/readline.info.gz PreReq: %install_info_prereq Version: 6.1 -Release: 1 +Release: 2 AutoReqProv: on %if %suse_version > 1120 BuildArch: noarch ++++++ bash-4.1-intr.dif ++++++ --- /var/tmp/diff_new_pack.gJQIhy/_old 2010-02-25 11:11:32.000000000 +0100 +++ /var/tmp/diff_new_pack.gJQIhy/_new 2010-02-25 11:11:32.000000000 +0100 @@ -15,7 +15,7 @@ #if 0 --- xmalloc.c -+++ xmalloc.c 2010-02-15 15:36:40.113797875 +0000 ++++ xmalloc.c 2010-02-24 08:32:51.452626384 +0000 @@ -35,6 +35,11 @@ # include "ansi_stdlib.h" #endif /* HAVE_STDLIB_H */ @@ -121,3 +121,27 @@ if (temp == 0) allocerr ("xrealloc", bytes); +@@ -145,7 +204,22 @@ xfree (string) + PTR_T string; + { + if (string) +- free (string); ++ { ++ sigset_t set, oset; ++ int blocked_sigs = 0; ++ ++ /* Block all signals in case we are executed from a signal handler. */ ++ if (interrupt_immediately || signal_is_trapped (SIGINT) || signal_is_trapped (SIGCHLD)) ++ { ++ block_signals (&set, &oset); ++ blocked_sigs = 1; ++ } ++ ++ free (string); ++ ++ if (blocked_sigs) ++ unblock_signals (&set, &oset); ++ } + } + + #ifdef USING_BASH_MALLOC ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de