Patchlevel 39
Signed-off-by: Roman Rakus <rrakus@redhat.com>
This commit is contained in:
parent
e70c516ad5
commit
f15e01c889
11
bash.spec
11
bash.spec
@ -1,12 +1,12 @@
|
|||||||
#% define beta_tag rc2
|
#% define beta_tag rc2
|
||||||
%define patchleveltag .37
|
%define patchleveltag .39
|
||||||
%define baseversion 4.2
|
%define baseversion 4.2
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
|
|
||||||
Version: %{baseversion}%{patchleveltag}
|
Version: %{baseversion}%{patchleveltag}
|
||||||
Name: bash
|
Name: bash
|
||||||
Summary: The GNU Bourne Again shell
|
Summary: The GNU Bourne Again shell
|
||||||
Release: 8%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: System Environment/Shells
|
Group: System Environment/Shells
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Url: http://www.gnu.org/software/bash
|
Url: http://www.gnu.org/software/bash
|
||||||
@ -57,6 +57,8 @@ Patch034: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-034
|
|||||||
Patch035: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-035
|
Patch035: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-035
|
||||||
Patch036: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-036
|
Patch036: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-036
|
||||||
Patch037: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-037
|
Patch037: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-037
|
||||||
|
Patch038: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-038
|
||||||
|
Patch039: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-039
|
||||||
|
|
||||||
# Other patches
|
# Other patches
|
||||||
Patch101: bash-2.02-security.patch
|
Patch101: bash-2.02-security.patch
|
||||||
@ -166,6 +168,8 @@ This package contains documentation files for %{name}.
|
|||||||
%patch035 -p0 -b .035
|
%patch035 -p0 -b .035
|
||||||
%patch036 -p0 -b .036
|
%patch036 -p0 -b .036
|
||||||
%patch037 -p0 -b .037
|
%patch037 -p0 -b .037
|
||||||
|
%patch038 -p0 -b .038
|
||||||
|
%patch039 -p0 -b .039
|
||||||
|
|
||||||
# Other patches
|
# Other patches
|
||||||
%patch101 -p1 -b .security
|
%patch101 -p1 -b .security
|
||||||
@ -383,6 +387,9 @@ end
|
|||||||
#%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
|
#%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 02 2012 Roman Rakus <rrakus@redhat.com> - 4.2.39-1
|
||||||
|
- Patchlevel 39
|
||||||
|
|
||||||
* Tue Aug 28 2012 Roman Rakus <rrakus@redhat.com> - 4.2.37-8
|
* Tue Aug 28 2012 Roman Rakus <rrakus@redhat.com> - 4.2.37-8
|
||||||
- Fix a comments in rpm changelog
|
- Fix a comments in rpm changelog
|
||||||
|
|
||||||
|
47
bash42-038
Normal file
47
bash42-038
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
BASH PATCH REPORT
|
||||||
|
=================
|
||||||
|
|
||||||
|
Bash-Release: 4.2
|
||||||
|
Patch-ID: bash42-038
|
||||||
|
|
||||||
|
Bug-Reported-by: armandsl@gmail.com
|
||||||
|
Bug-Reference-ID: <20120822112810.8D14920040@windmill.latviatours.lv>
|
||||||
|
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2012-08/msg00049.html
|
||||||
|
|
||||||
|
Bug-Description:
|
||||||
|
|
||||||
|
If a backslash-newline (which is removed) with no other input is given as
|
||||||
|
input to `read', the shell tries to dereference a null pointer and seg faults.
|
||||||
|
|
||||||
|
Patch (apply with `patch -p0'):
|
||||||
|
|
||||||
|
*** ../bash-4.2-patched/builtins/read.def 2012-03-11 17:52:44.000000000 -0400
|
||||||
|
--- builtins/read.def 2012-08-22 11:53:09.000000000 -0400
|
||||||
|
***************
|
||||||
|
*** 792,796 ****
|
||||||
|
#endif
|
||||||
|
|
||||||
|
! if (saw_escape)
|
||||||
|
{
|
||||||
|
t = dequote_string (input_string);
|
||||||
|
--- 847,851 ----
|
||||||
|
#endif
|
||||||
|
|
||||||
|
! if (saw_escape && input_string && *input_string)
|
||||||
|
{
|
||||||
|
t = dequote_string (input_string);
|
||||||
|
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||||
|
--- patchlevel.h Thu Feb 24 21:41:34 2011
|
||||||
|
***************
|
||||||
|
*** 26,30 ****
|
||||||
|
looks for to find the patch level (for the sccs version string). */
|
||||||
|
|
||||||
|
! #define PATCHLEVEL 37
|
||||||
|
|
||||||
|
#endif /* _PATCHLEVEL_H_ */
|
||||||
|
--- 26,30 ----
|
||||||
|
looks for to find the patch level (for the sccs version string). */
|
||||||
|
|
||||||
|
! #define PATCHLEVEL 38
|
||||||
|
|
||||||
|
#endif /* _PATCHLEVEL_H_ */
|
58
bash42-039
Normal file
58
bash42-039
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
BASH PATCH REPORT
|
||||||
|
=================
|
||||||
|
|
||||||
|
Bash-Release: 4.2
|
||||||
|
Patch-ID: bash42-039
|
||||||
|
|
||||||
|
Bug-Reported-by: Dan Douglas <ormaaj@gmail.com>
|
||||||
|
Bug-Reference-ID: <1498458.MpVlmOXDB7@smorgbox>
|
||||||
|
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2012-09/msg00008.html
|
||||||
|
|
||||||
|
Bug-Description:
|
||||||
|
|
||||||
|
Under certain circumstances, bash attempts to expand variables in arithmetic
|
||||||
|
expressions even when evaluation is being suppressed.
|
||||||
|
|
||||||
|
Patch (apply with `patch -p0'):
|
||||||
|
|
||||||
|
*** ../bash-4.2-patched/expr.c 2011-11-21 18:03:35.000000000 -0500
|
||||||
|
--- expr.c 2012-09-09 16:31:18.000000000 -0400
|
||||||
|
***************
|
||||||
|
*** 1010,1013 ****
|
||||||
|
--- 1073,1082 ----
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+ /*itrace("expr_streval: %s: noeval = %d", tok, noeval);*/
|
||||||
|
+ /* If we are suppressing evaluation, just short-circuit here instead of
|
||||||
|
+ going through the rest of the evaluator. */
|
||||||
|
+ if (noeval)
|
||||||
|
+ return (0);
|
||||||
|
+
|
||||||
|
/* [[[[[ */
|
||||||
|
#if defined (ARRAY_VARS)
|
||||||
|
***************
|
||||||
|
*** 1183,1186 ****
|
||||||
|
--- 1256,1263 ----
|
||||||
|
|
||||||
|
*cp = '\0';
|
||||||
|
+ /* XXX - watch out for pointer aliasing issues here */
|
||||||
|
+ if (curlval.tokstr && curlval.tokstr == tokstr)
|
||||||
|
+ init_lvalue (&curlval);
|
||||||
|
+
|
||||||
|
FREE (tokstr);
|
||||||
|
tokstr = savestring (tp);
|
||||||
|
*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
|
||||||
|
--- patchlevel.h Thu Feb 24 21:41:34 2011
|
||||||
|
***************
|
||||||
|
*** 26,30 ****
|
||||||
|
looks for to find the patch level (for the sccs version string). */
|
||||||
|
|
||||||
|
! #define PATCHLEVEL 38
|
||||||
|
|
||||||
|
#endif /* _PATCHLEVEL_H_ */
|
||||||
|
--- 26,30 ----
|
||||||
|
looks for to find the patch level (for the sccs version string). */
|
||||||
|
|
||||||
|
! #define PATCHLEVEL 39
|
||||||
|
|
||||||
|
#endif /* _PATCHLEVEL_H_ */
|
Loading…
Reference in New Issue
Block a user