NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/39134: /usr/bin/awk: segfaults when "nextfile" is in BEGIN {...}



>Number:         39134
>Category:       bin
>Synopsis:       /usr/bin/awk: segfaults when "nextfile" is in BEGIN {...}
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 12 00:35:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0: 
Sun Jul 6 22:33:53 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
0 ~>awk 'BEGIN {nextfile}' foo
Memory fault (core dumped) 
139 ~>
>Fix:
I've actually stolen this bug from OpenBSD gnats.

Nothing useful but...
http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=4887

P.S.
Is nawk still "the only true awk"? :-(



Home | Main Index | Thread Index | Old Index