From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26535 invoked by alias); 24 Aug 2013 07:42:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 26499 invoked by uid 89); 24 Aug 2013 07:42:39 -0000 X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_NEUTRAL autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients Received: from popelka.ms.mff.cuni.cz (HELO popelka.ms.mff.cuni.cz) (195.113.20.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 24 Aug 2013 07:42:37 +0000 Received: from domone.kolej.mff.cuni.cz (popelka.ms.mff.cuni.cz [195.113.20.131]) by popelka.ms.mff.cuni.cz (Postfix) with ESMTPS id 3BD8354A3D; Sat, 24 Aug 2013 09:42:33 +0200 (CEST) Received: by domone.kolej.mff.cuni.cz (Postfix, from userid 1000) id 109F65FA50; Sat, 24 Aug 2013 09:42:32 +0200 (CEST) Date: Sat, 24 Aug 2013 07:42:00 -0000 From: =?utf-8?B?T25kxZllaiBCw61sa2E=?= To: emogenet at gmail dot com Cc: glibc-bugs@sourceware.org Subject: Re: [Bug libc/15854] strtod should avoid calling strlen Message-ID: <20130824074232.GA18019@domone.kolej.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2013-08/txt/msg00137.txt.bz2 On Tue, Aug 20, 2013 at 07:29:21AM +0000, emogenet at gmail dot com wrote: > http://sourceware.org/bugzilla/show_bug.cgi?id=15854 > > --- Comment #2 from emogenet at gmail dot com --- > You are correct, the call tp strlen in strtod is not a problem. I > incrorectly assumed > it was calling strlen on the whole buffer because sscanf does exhibit the > problem I > describe, but as it turns out, the problem is inherent to sscanf, and > strtod works fine. > And could you provide sscanf testcase as separate bug report?