Subject: bin/19032: bad pointer arithmetic in inetd
To: None <gnats-bugs@gnats.netbsd.org>
From: None <joff@newmonics.com>
List: netbsd-bugs
Date: 11/12/2002 18:22:27
>Number:         19032
>Category:       bin
>Synopsis:       bad pointer arithmetic in inetd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 12 17:23:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6_STABLE
>Organization:
	NewMonics, Inc.
>Environment:
NetBSD 1.6
Architecture: i386
Machine: i386
>Description:
	inetd invoked from a crunchgened executable segfaults on the following
	line in main() 
	LastArg = envp[-1] + strlen(envp[-1]);
>How-To-Repeat:
	crunchgen inetd, hardlink inetd <-> crunchgen exe, run inetd -h
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: