Bash-4.2 patch 13
authorChet Ramey <chet.ramey@case.edu>
Wed, 23 Nov 2011 01:02:41 +0000 (20:02 -0500)
committerChet Ramey <chet.ramey@case.edu>
Wed, 23 Nov 2011 01:02:41 +0000 (20:02 -0500)
patchlevel.h
subst.c

index c6a7615..636be1c 100644 (file)
@@ -25,6 +25,6 @@
    regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
    looks for to find the patch level (for the sccs version string). */
 
-#define PATCHLEVEL 12
+#define PATCHLEVEL 13
 
 #endif /* _PATCHLEVEL_H_ */
diff --git a/subst.c b/subst.c
index b23610e..df25f63 100644 (file)
--- a/subst.c
+++ b/subst.c
@@ -3706,7 +3706,10 @@ remove_quoted_nulls (string)
            break;
        }
       else if (string[i] == CTLNUL)
-       i++;
+       {
+         i++;
+         continue;
+       }
 
       prev_i = i;
       ADVANCE_CHAR (string, slen, i);