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
..
2009-10-15 18:17:29 +00:00
2010-06-02 09:34:41 +00:00
2010-01-13 17:49:35 +00:00
2010-03-04 16:08:01 +00:00
2010-07-12 01:58:46 +00:00
2010-02-15 14:07:40 +00:00
2010-05-13 16:46:23 +00:00
2009-10-15 18:17:29 +00:00