rpms/bash/devel bash31-006, NONE, 1.1 bash31-007, NONE, 1.1 bash.spec, 1.105, 1.106
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sun Feb 5 13:37:03 UTC 2006
- Previous message (by thread): rpms/mozilla/devel mozilla-1.7.12-CVE-2005-4134-long-history-dos.patch, NONE, 1.1 mozilla-1.7.12-CVE-2006-0292-javascript-unrooted.patch, NONE, 1.1 mozilla-1.7.12-CVE-2006-0296-XULDocument.persist.patch, NONE, 1.1 mozilla.spec, 1.82, 1.83
- Next message (by thread): rpms/mozilla/devel mozilla-1.7.12-dumpstack.patch, NONE, 1.1 mozilla.spec, 1.83, 1.84
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: twaugh
Update of /cvs/dist/rpms/bash/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5559
Modified Files:
bash.spec
Added Files:
bash31-006 bash31-007
Log Message:
* Sun Feb 5 2006 Tim Waugh <twaugh at redhat.com> 3.1-6
- Patchlevel 7.
--- NEW FILE bash31-006 ---
BASH PATCH REPORT
=================
Bash-Release: 3.1
Patch-ID: bash31-006
Bug-Reported-by: Mike Frysinger <vapier at gentoo.org>
Bug-Reference-ID: <200601120613.11907.vapier at gentoo.org>
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00045.html
Bug-Description:
Under some circumstances, Bash can use an incorrect setting for the flag
that indicates whether or not the terminal can auto-wrap, resulting in line-
wrapping errors.
Patch:
*** ../bash-3.1/lib/readline/terminal.c Sat Nov 12 20:46:54 2005
--- lib/readline/terminal.c Tue Jan 31 10:57:54 2006
***************
*** 123,127 ****
/* Non-zero means the terminal can auto-wrap lines. */
! int _rl_term_autowrap;
/* Non-zero means that this terminal has a meta key. */
--- 126,130 ----
/* Non-zero means the terminal can auto-wrap lines. */
! int _rl_term_autowrap = -1;
/* Non-zero means that this terminal has a meta key. */
***************
*** 275,278 ****
--- 278,284 ----
int rows, cols;
{
+ if (_rl_term_autowrap == -1)
+ _rl_init_terminal_io (rl_terminal_name);
+
if (rows > 0)
_rl_screenheight = rows;
*** ../bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005
--- patchlevel.h Wed Dec 7 13:48:42 2005
***************
*** 26,30 ****
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 5
#endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 6
#endif /* _PATCHLEVEL_H_ */
--- NEW FILE bash31-007 ---
BASH PATCH REPORT
=================
Bash-Release: 3.1
Patch-ID: bash31-007
Bug-Reported-by: Tim Waugh <twaugh at redhat.com>, Laird Breyer <laird at lbreyer.com>
Bug-Reference-ID: <20060105174434.GY16000 at redhat.com>
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00009.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347695
Bug-Description:
When the number of saved jobs exceeds the initial size of the jobs array
(4096 slots), the array must be compacted and reallocated. An error in
the code to do that could cause a segmentation fault.
Patch:
*** ../bash-3.1/jobs.c Fri Nov 11 23:13:27 2005
--- jobs.c Wed Feb 1 13:55:38 2006
***************
*** 845,851 ****
{
sigset_t set, oset;
! int nsize, i, j;
JOB **nlist;
nsize = ((js.j_njobs + JOB_SLOTS - 1) / JOB_SLOTS);
nsize *= JOB_SLOTS;
--- 888,895 ----
{
sigset_t set, oset;
! int nsize, i, j, ncur, nprev;
JOB **nlist;
+ ncur = nprev = NO_JOB;
nsize = ((js.j_njobs + JOB_SLOTS - 1) / JOB_SLOTS);
nsize *= JOB_SLOTS;
***************
*** 855,869 ****
BLOCK_CHILD (set, oset);
! nlist = (JOB **) xmalloc (nsize * sizeof (JOB *));
for (i = j = 0; i < js.j_jobslots; i++)
if (jobs[i])
! nlist[j++] = jobs[i];
js.j_firstj = 0;
! js.j_lastj = (j > 0) ? j - 1: 0;
js.j_jobslots = nsize;
! free (jobs);
! jobs = nlist;
UNBLOCK_CHILD (oset);
--- 899,947 ----
BLOCK_CHILD (set, oset);
! nlist = (js.j_jobslots == nsize) ? jobs : (JOB **) xmalloc (nsize * sizeof (JOB *));
!
for (i = j = 0; i < js.j_jobslots; i++)
if (jobs[i])
! {
! if (i == js.j_current)
! ncur = j;
! if (i == js.j_previous)
! nprev = j;
! nlist[j++] = jobs[i];
! }
!
! #if defined (DEBUG)
! itrace ("realloc_jobs_list: resize jobs list from %d to %d", js.j_jobslots, nsize);
! itrace ("realloc_jobs_list: j_lastj changed from %d to %d", js.j_lastj, (j > 0) ? j - 1 : 0);
! itrace ("realloc_jobs_list: j_njobs changed from %d to %d", js.j_njobs, (j > 0) ? j - 1 : 0);
! #endif
js.j_firstj = 0;
! js.j_lastj = (j > 0) ? j - 1 : 0;
! js.j_njobs = j;
js.j_jobslots = nsize;
! /* Zero out remaining slots in new jobs list */
! for ( ; j < nsize; j++)
! nlist[j] = (JOB *)NULL;
!
! if (jobs != nlist)
! {
! free (jobs);
! jobs = nlist;
! }
!
! if (ncur != NO_JOB)
! js.j_current = ncur;
! if (nprev != NO_JOB)
! js.j_previous = nprev;
!
! /* Need to reset these */
! if (js.j_current == NO_JOB || js.j_previous == NO_JOB || js.j_current > js.j_lastj || js.j_previous > js.j_lastj)
! reset_current ();
!
! #ifdef DEBUG
! itrace ("realloc_jobs_list: reset js.j_current (%d) and js.j_previous (%d)", js.j_current, js.j_previous);
! #endif
UNBLOCK_CHILD (oset);
*** ../bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005
--- patchlevel.h Wed Dec 7 13:48:42 2005
***************
*** 26,30 ****
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 6
#endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 7
#endif /* _PATCHLEVEL_H_ */
Index: bash.spec
===================================================================
RCS file: /cvs/dist/rpms/bash/devel/bash.spec,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- bash.spec 18 Jan 2006 15:23:09 -0000 1.105
+++ bash.spec 5 Feb 2006 13:37:00 -0000 1.106
@@ -1,7 +1,7 @@
Version: 3.1
Name: bash
Summary: The GNU Bourne Again shell (bash) version %{version}.
-Release: 5
+Release: 6
Group: System Environment/Shells
License: GPL
Url: http://www.gnu.org/software/bash
@@ -16,6 +16,8 @@
Patch3: ftp://ftp.gnu.org/gnu/bash/bash-3.1-patches/bash31-003
Patch4: ftp://ftp.gnu.org/gnu/bash/bash-3.1-patches/bash31-004
Patch5: ftp://ftp.gnu.org/gnu/bash/bash-3.1-patches/bash31-005
+Patch6: ftp://ftp.gnu.org/gnu/bash/bash-3.1-patches/bash31-006
+Patch7: ftp://ftp.gnu.org/gnu/bash/bash-3.1-patches/bash31-007
# Other patches
Patch100: bash-2.03-paths.patch
Patch101: bash-2.02-security.patch
@@ -59,6 +61,8 @@
%patch3 -p0 -b .003
%patch4 -p0 -b .004
%patch5 -p0 -b .005
+%patch6 -p0 -b .006
+%patch7 -p0 -b .007
# Other patches
%patch100 -p1 -b .paths
@@ -210,6 +214,9 @@
%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
%changelog
+* Sun Feb 5 2006 Tim Waugh <twaugh at redhat.com> 3.1-6
+- Patchlevel 7.
+
* Wed Jan 18 2006 Tim Waugh <twaugh at redhat.com>
- Removed inaccuracies from %%description (bug #178189).
- Previous message (by thread): rpms/mozilla/devel mozilla-1.7.12-CVE-2005-4134-long-history-dos.patch, NONE, 1.1 mozilla-1.7.12-CVE-2006-0292-javascript-unrooted.patch, NONE, 1.1 mozilla-1.7.12-CVE-2006-0296-XULDocument.persist.patch, NONE, 1.1 mozilla.spec, 1.82, 1.83
- Next message (by thread): rpms/mozilla/devel mozilla-1.7.12-dumpstack.patch, NONE, 1.1 mozilla.spec, 1.83, 1.84
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list