From: Chet Ramey Date: Wed, 23 Nov 2011 01:02:41 +0000 (-0500) Subject: Bash-4.2 patch 13 X-Git-Tag: bash-4.3~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a48a8ac3526e4395f086945cf986d0fea378870b;p=thirdparty%2Fbash.git Bash-4.2 patch 13 --- diff --git a/patchlevel.h b/patchlevel.h index c6a761515..636be1ccd 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -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 b23610eeb..df25f632a 100644 --- 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);