From ae6f1ad363fccd4e271faf1e6449626cdabfdc35 Mon Sep 17 00:00:00 2001 From: Roman Rakus Date: Jun 22 2011 13:07:47 +0000 Subject: Don't crash when use `read' with associative array Patch from upstream. Fixes bug #715050. Signed-off-by: Roman Rakus --- 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 - 4.1.7-4 +- Don't crash when use `read' with associative array (#715050) + * Tue Jun 22 2010 Roman Rakus - 4.1.7-3 - Added missing patch