From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 26 Oct 2005 12:31:49 -0400 From: William Josephson To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] floatfmt on 64-bit targets? Message-ID: <20051026163149.GA7725@mero.morphisms.net> References: <20051025215838.GA3159@mero.morphisms.net> <788ac2c09f34fc1a4ce43b2316581314@vitanuova.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <788ac2c09f34fc1a4ce43b2316581314@vitanuova.com> User-Agent: Mutt/1.4.2.1i Topicbox-Message-UUID: a0323dd0-ead0-11e9-9d60-3106f5b1d025 On Wed, Oct 26, 2005 at 11:25:30AM +0100, C H Forsyth wrote: > was that on Plan 9 or plan 9 ports (and if so, which platform)? As Jim discovered, it isn't 64-bit specific. With %f, the stack-allocated buffer s in floatfmt isn't big enough and so with a large argument, the buffer gets overrun.