Jilles Tjoelker 6c0c240366 sh: Fix crash due to uninitialized here-document.
If an ; or & token was followed by an EOF token, pending here-documents were
left uninitialized. Execution would crash, either in the main shell process
for literal here-documents or in a child process for expanded
here-documents. In the latter case the problem is hard to detect apart from
the core dumps and log messages.

Side effect: slightly different retries on inputs where EOF is not
persistent.

Note that tools/regression/bin/sh/parser/heredoc6.0 still causes a similar
crash in a child process. The text passed to eval is malformed and should be
rejected.
2010-07-25 22:25:52 +00:00
..
2005-08-13 15:04:30 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-05-28 22:40:24 +00:00
2010-03-06 16:57:53 +00:00
2010-03-06 16:57:53 +00:00
2009-12-24 18:41:14 +00:00
2010-06-15 21:58:40 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-05-28 22:40:24 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-06-02 19:16:58 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2006-04-16 11:54:01 +00:00
2010-06-02 19:16:58 +00:00
2010-06-02 19:16:58 +00:00