Subject: bin/14253: jot segfaults and dumps core with bad format string
To: None <gnats-bugs@gnats.netbsd.org>
From: Jim Breton <jamesb-netbsd@alongtheway.com>
List: netbsd-bugs
Date: 10/15/2001 20:22:25
>Number:         14253
>Category:       bin
>Synopsis:       jot segfaults and dumps core with bad format string
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 15 13:23:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD-release-1-5
>Organization:
>Environment:
	x86, Pentium 100, 32 MB RAM, NetBSD-release-1-5 as of about a week ago
	also confirmed by another user running 1.5.2 release
System: NetBSD lead.conflict.net 1.5.2 NetBSD 1.5.2 (LEAD) #8: Wed Sep 19 01:51:08 UTC 2001 jamesb@lead.conflict.net:/home/src/sys/arch/i386/compile/LEAD i386


>Description:
$ jot -w %0 10 1 10
Segmentation fault (core dumped)

The format string is bad, but jot should handle this gracefully; it does
so on FreeBSD and OpenBSD.


Fwiw another user on IRC using 1.5X/Sparc has said it does fail
gracefully on that system.

>How-To-Repeat:
	See above.


Thanks.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: