From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17700 invoked by alias); 7 Aug 2012 16:44:28 -0000 Received: (qmail 17678 invoked by uid 22791); 7 Aug 2012 16:44:24 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Aug 2012 16:44:05 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 2C5342F78011 for ; Tue, 7 Aug 2012 17:44:04 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kEQroalfjTNK; Tue, 7 Aug 2012 17:44:03 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001490] C99 snprintf() does not include terminated null in truncated strings X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sergei.gavrikov@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 07 Aug 2012 16:44:00 -0000 Message-Id: <20120807164402.E375F2F78005@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2012-08/txt/msg00010.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001490 --- Comment #3 from Sergei Gavrikov 2012-08-07 17:44:01 BST --- (In reply to comment #2) > > I have verified the issue, and that the attached patch solves it. > > However, I have not run the affected ecos tests in this patch > > (Although I have run the test suite for our project). > > Note: the test case as it was attached fails in "snprintf double test > #2", which has to be changed like the other test cases. Thank you for testing. But I do not see any "snprintf double test #2" in CVS sources % grep -nr 'printf\W\+double' packages/language/c/ packages/language/c/libc/stdio/current/tests/sprintf2.c:169: "snprintf double test #1"); packages/language/c/libc/stdio/current/tests/sprintf2.c:172: "snprintf double test #1 return code"); Could you clarify, please, what the test does not pass? Sergei -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.