[Bug 11516] New: Awk segfault if NF is negative
bugzilla at busybox.net
bugzilla at busybox.net
Mon Nov 19 22:14:37 UTC 2018
https://bugs.busybox.net/show_bug.cgi?id=11516
Bug ID: 11516
Summary: Awk segfault if NF is negative
Product: Busybox
Version: 1.28.x
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at busybox.net
Reporter: luizluca at gmail.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
Using busybox 1.28.3,
echo 1 2 3 | awk 'BEGIN { NF-- }'
echo | awk '{ NF-- }'
Will segfault awk. Whenever NF becomes negative, awk crashes.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list