diff options
author | jilles <jilles@FreeBSD.org> | 2010-05-30 14:20:32 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-05-30 14:20:32 +0000 |
commit | e65f4ccf953ffadefbbd679eab31c34ae3a31a92 (patch) | |
tree | 9e2de3ee284decbd9e2f657e05341f7a07d597fa /share/monetdef | |
parent | 930ce3922652c50fc8b621b14b6238b325d7f16f (diff) | |
download | FreeBSD-src-e65f4ccf953ffadefbbd679eab31c34ae3a31a92.zip FreeBSD-src-e65f4ccf953ffadefbbd679eab31c34ae3a31a92.tar.gz |
sh: Fix a crash if a heredoc was not properly ended and parsing continued.
Example (in interactive mode):
cat <<EOF && )
The next command typed caused sh to segfault, because the state for the here
document was not reset.
Like parser_temp, this uses the fact that the parser is not re-entered.
Diffstat (limited to 'share/monetdef')
0 files changed, 0 insertions, 0 deletions