diff options
Diffstat (limited to 'app-shells/bash/files/bash-3.0-array-stripping.patch')
-rw-r--r-- | app-shells/bash/files/bash-3.0-array-stripping.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-3.0-array-stripping.patch b/app-shells/bash/files/bash-3.0-array-stripping.patch new file mode 100644 index 0000000..8b2384c --- /dev/null +++ b/app-shells/bash/files/bash-3.0-array-stripping.patch @@ -0,0 +1,18 @@ +Fix from Chet Ramey (bash maintainer) for array stripping + +http://bugs.gentoo.org/60127 + +*** ../bash-3.0/subst.c Sun Jul 4 13:56:13 2004 +--- subst.c Thu Aug 12 13:36:17 2004 +*************** +*** 4892,4896 **** + *e1p += len; + +! if (*e1p >= len || *e1p < 0) + return (-1); + +--- 4912,4916 ---- + *e1p += len; + +! if (*e1p > len || *e1p < 0) + return (-1); |