Hello community,

here is the log from the commit of package bash for openSUSE:Factory checked in 
at 2016-11-28 15:02:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bash (Old)
 and      /work/SRC/openSUSE:Factory/.bash.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bash"

Changes:
--------
--- /work/SRC/openSUSE:Factory/bash/bash.changes        2016-10-26 
13:25:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.bash.new/bash.changes   2016-11-28 
15:02:39.000000000 +0100
@@ -1,0 +2,29 @@
+Thu Nov 17 09:27:21 UTC 2016 - [email protected]
+
+- Add upstream patch bash44-001
+  Bash-4.4 changed the way the history list is initially allocated to reduce
+  the number of reallocations and copies.  Users who set HISTSIZE to a very
+  large number to essentially unlimit the size of the history list will get
+  memory allocation errors 
+- Add upstream patch bash44-002
+  Bash-4.4 warns when discarding NUL bytes in command substitution output
+  instead of silently dropping them.  This patch changes the warnings from
+  one per NUL byte encountered to one warning per command substitution.
+- Drop no-null-warning.patch as bash44-002 is official replacement
+- Add upstream patch bash44-003
+  Specially-crafted input, in this case an incomplete pathname expansion
+  bracket expression containing an invalid collating symbol, can cause the
+  shell to crash.
+- Add upstream patch bash44-004
+  There is a race condition that can result in bash referencing freed memory
+  when freeing data associated with the last process substitution.
+- Add upstream patch bash44-005
+  Under certain circumstances, a simple command is optimized to eliminate a
+  fork, resulting in an EXIT trap not being executed. (boo#1008459)
+- Add upstream patch readline70-001
+  Readline-7.0 changed the way the history list is initially allocated to 
reduce
+  the number of reallocations and copies.  Users who set the readline
+  history-size variable to a very large number to essentially unlimit the size
+  of the history list will get memory allocation errors 
+
+-------------------------------------------------------------------

Old:
----
  no-null-warning.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bash.spec ++++++
--- /var/tmp/diff_new_pack.9ib77V/_old  2016-11-28 15:02:40.000000000 +0100
+++ /var/tmp/diff_new_pack.9ib77V/_new  2016-11-28 15:02:40.000000000 +0100
@@ -98,8 +98,6 @@
 Patch48:        bash-4.3-extra-import-func.patch
 # PATCH-EXTEND-SUSE Allow root to clean file system if filled up
 Patch49:        bash-4.3-pathtemp.patch
-# PATCH-FIX-OPENSUSE Don't warn about null bytes in command substitution
-Patch50:        no-null-warning.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %global         _sysconfdir /etc
 %global         _incdir     %{_includedir}
@@ -308,7 +306,6 @@
 %patch48 -b .eif
 %endif
 %patch49 -p0 -b .pthtmp
-%patch50 -p1
 %patch0  -p0 -b .0
 pushd ../readline-%{rl_vers}%{rextend}
 for patch in ../readline-%{rl_vers}-patches/*; do

++++++ bash-4.4-patches.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bash-4.4-patches/bash44-001 
new/bash-4.4-patches/bash44-001
--- old/bash-4.4-patches/bash44-001     1970-01-01 01:00:00.000000000 +0100
+++ new/bash-4.4-patches/bash44-001     2016-11-11 20:24:59.000000000 +0100
@@ -0,0 +1,60 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  4.4
+Patch-ID:      bash44-001
+
+Bug-Reported-by:       Sean Zha <[email protected]>
+Bug-Reference-ID:      
<bn3pr01mb13657d9303eb94bf6e54216e8c...@bn3pr01mb1365.prod.exchangelabs.com>
+Bug-Reference-URL:     
http://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
+
+Bug-Description:
+
+Bash-4.4 changed the way the history list is initially allocated to reduce
+the number of reallocations and copies.  Users who set HISTSIZE to a very
+large number to essentially unlimit the size of the history list will get
+memory allocation errors 
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.4/lib/readline/history.c 2015-12-28 13:50:31.000000000 -0500
+--- lib/readline/history.c     2016-09-30 14:28:40.000000000 -0400
+***************
+*** 58,61 ****
+--- 58,63 ----
+  #define DEFAULT_HISTORY_INITIAL_SIZE 502
+  
++ #define MAX_HISTORY_INITIAL_SIZE     8192
++ 
+  /* The number of slots to increase the_history by. */
+  #define DEFAULT_HISTORY_GROW_SIZE 50
+***************
+*** 308,312 ****
+       {
+         if (history_stifled && history_max_entries > 0)
+!          history_size = history_max_entries + 2;
+         else
+           history_size = DEFAULT_HISTORY_INITIAL_SIZE;
+--- 310,316 ----
+       {
+         if (history_stifled && history_max_entries > 0)
+!          history_size = (history_max_entries > MAX_HISTORY_INITIAL_SIZE)
+!                              ? MAX_HISTORY_INITIAL_SIZE
+!                              : history_max_entries + 2;
+         else
+           history_size = DEFAULT_HISTORY_INITIAL_SIZE;
+*** ../bash-4.4/patchlevel.h   2016-06-22 14:51:03.000000000 -0400
+--- patchlevel.h       2016-10-01 11:01:28.000000000 -0400
+***************
+*** 26,30 ****
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 0
+  
+  #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 1
+  
+  #endif /* _PATCHLEVEL_H_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bash-4.4-patches/bash44-002 
new/bash-4.4-patches/bash44-002
--- old/bash-4.4-patches/bash44-002     1970-01-01 01:00:00.000000000 +0100
+++ new/bash-4.4-patches/bash44-002     2016-11-11 20:25:15.000000000 +0100
@@ -0,0 +1,69 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  4.4
+Patch-ID:      bash44-002
+
+Bug-Reported-by:       Eric Pruitt <[email protected]>
+Bug-Reference-ID:      <[email protected]>
+Bug-Reference-URL:     
http://lists.gnu.org/archive/html/bug-bash/2016-09/msg00015.html
+
+Bug-Description:
+
+Bash-4.4 warns when discarding NUL bytes in command substitution output
+instead of silently dropping them.  This patch changes the warnings from
+one per NUL byte encountered to one warning per command substitution.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.4/subst.c        2016-08-30 16:46:38.000000000 -0400
+--- subst.c    2016-09-26 10:20:19.000000000 -0400
+***************
+*** 5932,5935 ****
+--- 5933,5937 ----
+    int istring_index, istring_size, c, tflag, skip_ctlesc, skip_ctlnul;
+    ssize_t bufn;
++   int nullbyte;
+  
+    istring = (char *)NULL;
+***************
+*** 5939,5942 ****
+--- 5941,5946 ----
+      skip_ctlesc |= *s == CTLESC, skip_ctlnul |= *s == CTLNUL;
+  
++   nullbyte = 0;
++ 
+    /* Read the output of the command through the pipe.  This may need to be
+       changed to understand multibyte characters in the future. */
+***************
+*** 5957,5961 ****
+       {
+  #if 1
+!        internal_warning ("%s", _("command substitution: ignored null byte in 
input"));
+  #endif
+         continue;
+--- 5961,5969 ----
+       {
+  #if 1
+!        if (nullbyte == 0)
+!          {
+!            internal_warning ("%s", _("command substitution: ignored null 
byte in input"));
+!            nullbyte = 1;
+!          }
+  #endif
+         continue;
+*** ../bash-4.4/patchlevel.h   2016-06-22 14:51:03.000000000 -0400
+--- patchlevel.h       2016-10-01 11:01:28.000000000 -0400
+***************
+*** 26,30 ****
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 1
+  
+  #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 2
+  
+  #endif /* _PATCHLEVEL_H_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bash-4.4-patches/bash44-003 
new/bash-4.4-patches/bash44-003
--- old/bash-4.4-patches/bash44-003     1970-01-01 01:00:00.000000000 +0100
+++ new/bash-4.4-patches/bash44-003     2016-11-11 20:25:26.000000000 +0100
@@ -0,0 +1,58 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  4.4
+Patch-ID:      bash44-003
+
+Bug-Reported-by:       op7ic \x00 <[email protected]>
+Bug-Reference-ID:      
<CAFHyJTopWC5Jx+U7WcvxSZKu+KrqSf+_3sHPiRWo=VzXSiPq=w...@mail.gmail.com>
+Bug-Reference-URL:     
http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00005.html
+
+Bug-Description:
+
+Specially-crafted input, in this case an incomplete pathname expansion
+bracket expression containing an invalid collating symbol, can cause the
+shell to crash.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.4/lib/glob/sm_loop.c     2016-04-10 11:23:21.000000000 -0400
+--- lib/glob/sm_loop.c 2016-11-02 14:03:34.000000000 -0400
+***************
+*** 331,334 ****
+--- 331,340 ----
+      if (p[pc] == L('.') && p[pc+1] == L(']'))
+        break;
++    if (p[pc] == 0)
++     {
++       if (vp)
++      *vp = INVALID;
++       return (p + pc);
++     }
+     val = COLLSYM (p, pc);
+     if (vp)
+***************
+*** 484,487 ****
+--- 490,496 ----
+        c = FOLD (c);
+  
++       if (c == L('\0'))
++      return ((test == L('[')) ? savep : (CHAR *)0);
++ 
+        if ((flags & FNM_PATHNAME) && c == L('/'))
+       /* [/] can never match when matching a pathname.  */
+*** ../bash-4.4/patchlevel.h   2016-06-22 14:51:03.000000000 -0400
+--- patchlevel.h       2016-10-01 11:01:28.000000000 -0400
+***************
+*** 26,30 ****
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 2
+  
+  #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 3
+  
+  #endif /* _PATCHLEVEL_H_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bash-4.4-patches/bash44-004 
new/bash-4.4-patches/bash44-004
--- old/bash-4.4-patches/bash44-004     1970-01-01 01:00:00.000000000 +0100
+++ new/bash-4.4-patches/bash44-004     2016-11-11 20:25:40.000000000 +0100
@@ -0,0 +1,84 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  4.4
+Patch-ID:      bash44-004
+
+Bug-Reported-by:       Christian Weisgerber <[email protected]>
+Bug-Reference-ID:      <[email protected]>
+Bug-Reference-URL:     
http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00004.html
+
+Bug-Description:
+
+There is a race condition that can result in bash referencing freed memory
+when freeing data associated with the last process substitution.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.4/jobs.c 2016-08-23 16:38:44.000000000 -0400
+--- jobs.c     2016-11-02 18:24:45.000000000 -0400
+***************
+*** 454,457 ****
+--- 454,472 ----
+  }
+  
++ void
++ discard_last_procsub_child ()
++ {
++   PROCESS *disposer;
++   sigset_t set, oset;
++ 
++   BLOCK_CHILD (set, oset);
++   disposer = last_procsub_child;
++   last_procsub_child = (PROCESS *)NULL;
++   UNBLOCK_CHILD (oset);
++ 
++   if (disposer)
++     discard_pipeline (disposer);
++ }
++ 
+  struct pipeline_saver *
+  alloc_pipeline_saver ()
+*** ../bash-4.4/jobs.h 2016-04-27 10:35:51.000000000 -0400
+--- jobs.h     2016-11-02 18:25:08.000000000 -0400
+***************
+*** 191,194 ****
+--- 191,195 ----
+  extern void stop_making_children __P((void));
+  extern void cleanup_the_pipeline __P((void));
++ extern void discard_last_procsub_child __P((void));
+  extern void save_pipeline __P((int));
+  extern PROCESS *restore_pipeline __P((int));
+*** ../bash-4.4/subst.c        2016-08-30 16:46:38.000000000 -0400
+--- subst.c    2016-11-02 18:23:24.000000000 -0400
+***************
+*** 5809,5816 ****
+  #if defined (JOB_CONTROL)
+        if (last_procsub_child)
+!      {
+!        discard_pipeline (last_procsub_child);
+!        last_procsub_child = (PROCESS *)NULL;
+!      }
+        last_procsub_child = restore_pipeline (0);
+  #endif
+--- 5834,5838 ----
+  #if defined (JOB_CONTROL)
+        if (last_procsub_child)
+!      discard_last_procsub_child ();
+        last_procsub_child = restore_pipeline (0);
+  #endif
+*** ../bash-4.4/patchlevel.h   2016-06-22 14:51:03.000000000 -0400
+--- patchlevel.h       2016-10-01 11:01:28.000000000 -0400
+***************
+*** 26,30 ****
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 3
+  
+  #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 4
+  
+  #endif /* _PATCHLEVEL_H_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bash-4.4-patches/bash44-005 
new/bash-4.4-patches/bash44-005
--- old/bash-4.4-patches/bash44-005     1970-01-01 01:00:00.000000000 +0100
+++ new/bash-4.4-patches/bash44-005     2016-11-11 20:25:56.000000000 +0100
@@ -0,0 +1,47 @@
+                            BASH PATCH REPORT
+                            =================
+
+Bash-Release:  4.4
+Patch-ID:      bash44-005
+
+Bug-Reported-by:       Dr. Werner Fink <[email protected]>
+Bug-Reference-ID:      <[email protected]>
+Bug-Reference-URL:     
http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00054.html
+
+Bug-Description:
+
+Under certain circumstances, a simple command is optimized to eliminate a
+fork, resulting in an EXIT trap not being executed.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.4/builtins/evalstring.c  2016-08-11 14:18:51.000000000 -0400
+--- builtins/evalstring.c      2016-11-08 15:05:07.000000000 -0500
+***************
+*** 105,114 ****
+         *bash_input.location.string == '\0' &&
+         command->type == cm_simple &&
+- #if 0
+         signal_is_trapped (EXIT_TRAP) == 0 &&
+         signal_is_trapped (ERROR_TRAP) == 0 &&
+- #else
+         any_signals_trapped () < 0 &&
+- #endif
+         command->redirects == 0 && command->value.Simple->redirects == 0 &&
+         ((command->flags & CMD_TIME_PIPELINE) == 0) &&
+--- 105,111 ----
+*** ../bash-4.4/patchlevel.h   2016-06-22 14:51:03.000000000 -0400
+--- patchlevel.h       2016-10-01 11:01:28.000000000 -0400
+***************
+*** 26,30 ****
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 4
+  
+  #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 5
+  
+  #endif /* _PATCHLEVEL_H_ */

++++++ readline-7.0-patches.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/readline-7.0-patches/readline70-001 
new/readline-7.0-patches/readline70-001
--- old/readline-7.0-patches/readline70-001     1970-01-01 01:00:00.000000000 
+0100
+++ new/readline-7.0-patches/readline70-001     2016-11-16 18:55:19.000000000 
+0100
@@ -0,0 +1,57 @@
+                          READLINE PATCH REPORT
+                          =====================
+
+Readline-Release: 7.0
+Patch-ID: readline70-001
+
+Bug-Reported-by:        Sean Zha <[email protected]>
+Bug-Reference-ID:       
<bn3pr01mb13657d9303eb94bf6e54216e8c...@bn3pr01mb1365.prod.exchangelabs.com>
+Bug-Reference-URL:      
http://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
+
+Bug-Description:
+
+Readline-7.0 changed the way the history list is initially allocated to reduce
+the number of reallocations and copies.  Users who set the readline
+history-size variable to a very large number to essentially unlimit the size
+of the history list will get memory allocation errors 
+
+Patch (apply with `patch -p0'):
+
+*** ../readline-7.0/history.c  2015-12-28 13:50:31.000000000 -0500
+--- history.c  2016-09-30 14:28:40.000000000 -0400
+***************
+*** 58,61 ****
+--- 58,63 ----
+  #define DEFAULT_HISTORY_INITIAL_SIZE 502
+  
++ #define MAX_HISTORY_INITIAL_SIZE     8192
++ 
+  /* The number of slots to increase the_history by. */
+  #define DEFAULT_HISTORY_GROW_SIZE 50
+***************
+*** 308,312 ****
+       {
+         if (history_stifled && history_max_entries > 0)
+!          history_size = history_max_entries + 2;
+         else
+           history_size = DEFAULT_HISTORY_INITIAL_SIZE;
+--- 310,316 ----
+       {
+         if (history_stifled && history_max_entries > 0)
+!          history_size = (history_max_entries > MAX_HISTORY_INITIAL_SIZE)
+!                              ? MAX_HISTORY_INITIAL_SIZE
+!                              : history_max_entries + 2;
+         else
+           history_size = DEFAULT_HISTORY_INITIAL_SIZE;
+
+*** ../readline-7.0/patchlevel 2013-11-15 08:11:11.000000000 -0500
+--- patchlevel 2014-03-21 08:28:40.000000000 -0400
+***************
+*** 1,3 ****
+  # Do not edit -- exists only for use by patch
+  
+! 0
+--- 1,3 ----
+  # Do not edit -- exists only for use by patch
+  
+! 1


Reply via email to