Bug 187633 - [patch] fix m4(1) segv
Summary: [patch] fix m4(1) segv
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2014-03-16 14:00 UTC by ksmakoto
Modified: 2017-12-31 22:27 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description ksmakoto 2014-03-16 14:00:00 UTC
m4 segv, when processes "ifelse(a,b,c,d,d)".

How-To-Repeat: $ echo 'ifelse(a,b,c,d,d)' | m4
Segmentation fault: 11 (core dumped)
Comment 1 Ulf Lilleengen freebsd_committer 2014-03-22 17:27:55 UTC

This patch will ensure that m4 does not try to evaluate a set of 
arguments that does not adhere to the instructions in the man page:


Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:10 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped