URL:
<http://savannah.gnu.org/bugs/?21898>
Summary: bc 1.06: Segmentation fault when using for (;;)
Project: grep
Submitted by: None
Submitted on: Thursday 12/27/2007 at 11:37 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Regarding bc 1.06,
the use of the for (;;) syntax (for loops with a condition in the middle) is
the apparent cause of a segmentation fault.
Here is a 'minimal' test program:
n=1
for (;;) {
if (n>3) break
n++
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21898>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/