Date: Wed, 5 Jan 2000 17:14:14 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: FreeBSD-gnats-submit@freebsd.org Subject: alpha/15929: printf(1) truncates if it sees 000 Message-ID: <200001060114.RAA72721@bubba.whistle.com>
next in thread | raw e-mail | index | archive | help
>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 "a<NUL>truncated" >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001060114.RAA72721>