[bash/f14] Don't crash when use `read' with associative array

Roman Rakus rrakus at fedoraproject.org
Wed Jun 22 13:08:43 UTC 2011


commit ae6f1ad363fccd4e271faf1e6449626cdabfdc35
Author: Roman Rakus <rrakus at redhat.com>
Date:   Wed Jun 22 15:07:47 2011 +0200

    Don't crash when use `read' with associative array
    
    Patch from upstream. Fixes bug #715050.
    
    Signed-off-by: Roman Rakus <rrakus at redhat.com>

 bash.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/bash.spec b/bash.spec
index b5882a0..e2589f6 100644
--- a/bash.spec
+++ b/bash.spec
@@ -5,7 +5,7 @@
 Version: %{baseversion}%{patchleveltag}
 Name: bash
 Summary: The GNU Bourne Again shell
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: System Environment/Shells
 License: GPLv3+
 Url: http://www.gnu.org/software/bash
@@ -52,6 +52,10 @@ Patch123: bash-4.0-nobits.patch
 # Do the same CFLAGS in generated Makefile in examples
 Patch124: bash-4.1-examples.patch
 
+# 715050, Don't crash when use `read' with associative array
+# Patch from upstream
+Patch125: bash-4.1-read-assoc-array.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: texinfo bison
@@ -106,6 +110,8 @@ This package contains documentation files for %{name}.
 %patch118 -p1 -b .tty_tests
 %patch123 -p1 -b .nobits
 %patch124 -p1 -b .examples
+# upstream patch
+%patch125 -p0 -b .read-assoc-array
 
 echo %{version} > _distribution
 echo %{release} > _patchlevel
@@ -274,6 +280,9 @@ fi
 #%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
 
 %changelog
+* Wed Jun 22 2011 Roman Rakus <rrakus at redhat.com> - 4.1.7-4
+- Don't crash when use `read' with associative array (#715050)
+
 * Tue Jun 22 2010 Roman Rakus <rrakus at redhat.com> - 4.1.7-3
 - Added missing patch
 


More information about the scm-commits mailing list