bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] need_here_doc value negative in some cases


From: Ondrej Oprala
Subject: [PATCH] need_here_doc value negative in some cases
Date: Mon, 04 Aug 2014 10:57:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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

Attachment: negative-need-here-doc.patch
Description: Source code patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]