| Summary: | PD m4 (/usr/bin/m4) runs out of stack | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Don Sullivan <dsullivan> |
| Component: | i386 | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Don Sullivan
2001-09-10 02:00:00 UTC
State Changed From-To: open->closed As Gregory Neil Shapiro <gshapiro@gshapiro.net> reminded me, this was fixed (after 4.3 was released) with this change: revision 1.10.2.2 date: 2001/05/24 20:52:13; author: gshapiro; state: Exp; lines: +9 -9 MFC: String operations could silently truncate long strings, leaving the output corrupted. Mark's patch fixes this be removing the MAXTOK limitation on substring operations and allowing the putback buffer size to be the limiting factor. If the putback buffer size if reached, m4 gives an error instead of silently truncating the string. Revision Changes Path 1.12 +9 -9 src/usr.bin/m4/eval.c |