From owner-freebsd-alpha Wed Jan 5 17:24: 1 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 429731504C for ; Wed, 5 Jan 2000 17:23:59 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA97623; Wed, 5 Jan 2000 17:20:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 3509015517 for ; Wed, 5 Jan 2000 17:16:08 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id RAA72721; Wed, 5 Jan 2000 17:14:14 -0800 (PST) Message-Id: <200001060114.RAA72721@bubba.whistle.com> Date: Wed, 5 Jan 2000 17:14:14 -0800 (PST) From: Archie Cobbs Reply-To: archie@whistle.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: alpha/15929: printf(1) truncates if it sees 000 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15929 >Category: alpha >Synopsis: printf(1) truncates if it sees \000 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-alpha >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 5 17:20:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Archie Cobbs >Release: FreeBSD 3.4-RELEASE i386 >Organization: Whistle Communications, Inc. >Environment: FreeBSD 3.4-RELEASE i386 >Description: If '\000' is used in a printf(1) format string, the string is trunctated at that point >How-To-Repeat: $ printf 'a\000truncated\n' This outputs "a" instead of "atruncated" >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message