From owner-cvs-src@FreeBSD.ORG Thu Apr 14 17:02:35 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ECC316A4CE; Thu, 14 Apr 2005 17:02:35 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6F7A43D49; Thu, 14 Apr 2005 17:02:34 +0000 (GMT) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3EH2YlT079652; Thu, 14 Apr 2005 17:02:34 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3EH2YwZ079651; Thu, 14 Apr 2005 17:02:34 GMT (envelope-from stefanf) Message-Id: <200504141702.j3EH2YwZ079651@repoman.freebsd.org> From: Stefan Farfeleder Date: Thu, 14 Apr 2005 17:02:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/printf printf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 17:02:35 -0000 stefanf 2005-04-14 17:02:34 UTC FreeBSD src repository Modified files: usr.bin/printf printf.c Log: Handle null characters in the format string. A \0 in the argument passed to %b still results in trucation but this is be much harder to fix. Revision Changes Path 1.35 +13 -7 src/usr.bin/printf/printf.c