Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2021 01:43:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 153659] awk(1) segfaults when trying to extract a combination of special characters
Message-ID:  <bug-153659-227-HprK89rxpZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-153659-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-153659-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D153659

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 followi=
ng
diagnostic:
awk: not enough args in printf(%*)
 input record number 1, file conf
 source line number 1

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-153659-227-HprK89rxpZ>