On 8/4/14, 4:57 AM, Ondrej Oprala wrote:
> Hi, based on the core dump from [1], need_here_doc seems to
> attain the value of -1 under some conditions, thus passing
> "if (need_here_doc)" clauses, in this case resulting in a segfault.
Original:
http://lists.gnu.org/archive/html/bug-bash/2014-06/ms
Hi, based on the core dump from [1], need_here_doc seems to
attain the value of -1 under some conditions, thus passing
"if (need_here_doc)" clauses, in this case resulting in a segfault.
A very simple patch is attached.
Thanks,
Ondrej
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1087010
From