From owner-svn-src-head@FreeBSD.ORG Sat Jan 28 19:22:50 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B2FA106567F; Sat, 28 Jan 2012 19:22:50 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lpp01m020-f182.google.com (mail-lpp01m020-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 783B88FC1C; Sat, 28 Jan 2012 19:22:49 +0000 (UTC) Received: by lbao2 with SMTP id o2so222052lba.13 for ; Sat, 28 Jan 2012 11:22:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=enC9GEBD4Znv8Ys9cHXExrcAWuY0v2HUw1C2y1l3zFA=; b=s94UWZNIcnEmjasG0CQ+XcAFzKF1ulVgcFuloqUuL0eCvWeLK0RPJMlAqXAgNCvHWO 1RmGPCWqz3HMMIzIzmPVcwPxlHmpDSfwjWPhrfSC/5UMoZCP9z25vVeSzcLn8feBwebl XL2yaATJLD25AmFKcuFaHKV/jgm6t6l1cbfB8= Received: by 10.112.103.8 with SMTP id fs8mr2710967lbb.39.1327778568177; Sat, 28 Jan 2012 11:22:48 -0800 (PST) MIME-Version: 1.0 Sender: lists@eitanadler.com Received: by 10.112.101.66 with HTTP; Sat, 28 Jan 2012 11:22:18 -0800 (PST) In-Reply-To: <201201281849.q0SIn4qv095108@svn.freebsd.org> References: <201201281849.q0SIn4qv095108@svn.freebsd.org> From: Eitan Adler Date: Sat, 28 Jan 2012 14:22:18 -0500 X-Google-Sender-Auth: hSAp-migSBTDmpc-fFZ6a-nOYOg Message-ID: To: Tijl Coosemans Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r230649 - head/usr.bin/hexdump X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2012 19:22:50 -0000 On Sat, Jan 28, 2012 at 1:49 PM, Tijl Coosemans wrote: > Author: tijl > Date: Sat Jan 28 18:49:04 2012 > New Revision: 230649 > URL: http://svn.freebsd.org/changeset/base/230649 > > Log: > =C2=A0Fix decoding of escape sequences in format strings: > =C2=A0- Zero-terminate the resulting string by letting the for-loop copy = the > =C2=A0 =C2=A0terminating zero. > =C2=A0- Exit the for-loop after handling a backslash at the end of the fo= rmat > =C2=A0 =C2=A0string to fix a buffer overrun. > =C2=A0- Remove some unnecessary comments and blank lines. [1] > > =C2=A0Requested by: bde [1] > =C2=A0PR: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 bin/144722 > =C2=A0Approved by: =C2=A0kib (mentor) Thanks! --=20 Eitan Adler Source & Ports committer X11, Bugbusting teams