[Bug 153659] awk(1) segfaults when trying to extract a combination of special characters
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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.