[Bug 153659] awk(1) segfaults when trying to extract a combination of special characters

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Jul 2021 01:43:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=153659

Warner Losh <imp@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imp@FreeBSD.org
             Status|Open                        |Closed
         Resolution|---                         |FIXED

--- Comment #4 from Warner Losh <imp@FreeBSD.org> ---
This awk program is incorrect (the printf uses the input line, but doesn't have
enough args).
awk properly detects this now and does not segfault, but issues the following
diagnostic:
awk: not enough args in printf(%*)
 input record number 1, file conf
 source line number 1

-- 
You are receiving this mail because:
You are the assignee for the bug.