nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

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

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