NetBSD Problem Report #49648
From www@NetBSD.org Sat Feb 7 14:32:57 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 90412A5B2E
for <gnats-bugs@gnats.NetBSD.org>; Sat, 7 Feb 2015 14:32:57 +0000 (UTC)
Message-Id: <20150207143255.ED0A2A6562@mollari.NetBSD.org>
Date: Sat, 7 Feb 2015 14:32:55 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Missing args in the format string ctf.c
X-Send-Pr-Version: www-1.0
>Number: 49648
>Category: bin
>Synopsis: Missing args in the format string ctf.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 07 14:35:00 +0000 2015
>Closed-Date: Sun Sep 06 00:38:22 +0000 2015
>Last-Modified: Sun Sep 06 00:38:22 +0000 2015
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Missing args in the format string.
>How-To-Repeat:
>Fix:
diff -u -p -r1.7 ctf.c
--- external/cddl/osnet/dist/tools/ctf/cvt/ctf.c 9 Mar 2014 17:04:00 -0000 1.7
+++ external/cddl/osnet/dist/tools/ctf/cvt/ctf.c 7 Feb 2015 14:16:03 -0000
@@ -496,7 +496,7 @@ write_type(void *arg1, void *arg2)
if (i > CTF_MAX_VLEN) {
terminate("function %s has too many args: %d > %d\n",
- i, CTF_MAX_VLEN);
+ tdesc_name(tp), i, CTF_MAX_VLEN);
}
ctt.ctt_info = CTF_TYPE_INFO(CTF_K_FUNCTION, isroot, i);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 06 Sep 2015 00:38:22 +0000
State-Changed-Why:
Christos fixed it in -r1.8, thanks.
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.