From: Chet Ramey Date: Tue, 13 Mar 2012 19:12:26 +0000 (-0400) Subject: Bash-4.2 patch 24 X-Git-Tag: bash-4.3~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c19148d3350504ff170ca6fabc9b120ad3f3378;p=thirdparty%2Fbash.git Bash-4.2 patch 24 --- diff --git a/builtins/printf.def b/builtins/printf.def index 9eca21521..71a7c00e0 100644 --- a/builtins/printf.def +++ b/builtins/printf.def @@ -255,6 +255,8 @@ printf_builtin (list) #endif { vflag = 1; + if (vbsize == 0) + vbuf = xmalloc (vbsize = 16); vblen = 0; if (vbuf) vbuf[0] = 0; diff --git a/patchlevel.h b/patchlevel.h index 3ef48b5ac..4f922469e 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 23 +#define PATCHLEVEL 24 #endif /* _PATCHLEVEL_H_ */