rcolebaugh / rpms / bash

Forked from rpms/bash a year ago
Clone

Blame SOURCES/bash-4.2-double-alloc.patch

751b60
--- bash-4.1/subst.c	2015-04-07 10:00:00.482931289 +0900
751b60
+++ bash-4.1/subst.c	2015-04-07 10:01:28.258111134 +0900
751b60
@@ -7039,8 +7039,6 @@ 
751b60
 
751b60
       ret = alloc_word_desc ();
751b60
       ret->word = temp1;
751b60
-      ret = alloc_word_desc ();
751b60
-      ret->word = temp1;
751b60
       if (temp1 && QUOTED_NULL (temp1) && (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)))
751b60
 	ret->flags |= W_QUOTED|W_HASQUOTEDNULL;
751b60
       return ret;