NetBSD Problem Report #14253

Received: (qmail 2023 invoked from network); 15 Oct 2001 20:22:02 -0000
Message-Id: <20011015202225027611.21671@alongtheway.com>
Date: Mon, 15 Oct 2001 20:22:25 +0000
From: Jim Breton <jamesb-netbsd@alongtheway.com>
To: gnats-bugs@gnats.netbsd.org
Subject: jot segfaults and dumps core with bad format string

>Number:         14253
>Category:       bin
>Synopsis:       jot segfaults and dumps core with bad format string
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    jdolecek
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 15 20:23:01 +0000 2001
>Closed-Date:    Sat Nov 03 11:35:19 +0000 2001
>Last-Modified:  Tue Mar 20 06:20:13 +0000 2012
>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:
State-Changed-From-To: open->analyzed 
State-Changed-By: jdolecek 
State-Changed-When: Mon Oct 15 14:45:11 PDT 2001 
State-Changed-Why:  
This has already been adressed on -current. I'll request a pullup 
to 1.5 branch. 


Responsible-Changed-From-To: bin-bug-people->jdolecek 
Responsible-Changed-By: jdolecek 
Responsible-Changed-When: Mon Oct 15 14:45:11 PDT 2001 
Responsible-Changed-Why:  
I did the jot fix. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: jdolecek 
State-Changed-When: Sat Nov 3 03:34:58 PST 2001 
State-Changed-Why:  
The fix was submitted for pullup to 1.5 branch. Thanks for report. 
From: "Jukka Ruohonen" <jruoho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/14253 CVS commit: src
Date: Tue, 20 Mar 2012 06:18:34 +0000

 Module Name:	src
 Committed By:	jruoho
 Date:		Tue Mar 20 06:18:34 UTC 2012

 Modified Files:
 	src/distrib/sets/lists/tests: mi
 	src/etc/mtree: NetBSD.dist.tests
 	src/tests/usr.bin: Makefile
 Added Files:
 	src/tests/usr.bin/jot: Makefile d_basic.out t_jot.sh

 Log Message:
 Add regression tests for PR bin/12424, PR bin/12316, and PR bin/14253,
 all fixed long time ago.


 To generate a diff of this commit:
 cvs rdiff -u -r1.452 -r1.453 src/distrib/sets/lists/tests/mi
 cvs rdiff -u -r1.68 -r1.69 src/etc/mtree/NetBSD.dist.tests
 cvs rdiff -u -r1.12 -r1.13 src/tests/usr.bin/Makefile
 cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/jot/Makefile \
     src/tests/usr.bin/jot/d_basic.out src/tests/usr.bin/jot/t_jot.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.