From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121506 invoked by alias); 20 Nov 2015 08:19:43 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org Received: (qmail 121477 invoked by uid 89); 20 Nov 2015 08:19:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,LIKELY_SPAM_SUBJECT,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail.ecoscentric.com Received: from albus.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 20 Nov 2015 08:19:41 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 23417A8A75D for ; Fri, 20 Nov 2015 08:19:38 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (albus.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xUcu2fRihJWv; Fri, 20 Nov 2015 08:19:37 +0000 (GMT) From: bugzilla-daemon@ecoscentric.com Authentication-Results: mail.ecoscentric.com; dkim=permerror (bad message/signature format) To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1002106] Bugs in vfscanf.cxx to deal with utf-8 Date: Fri, 20 Nov 2015 08:19:00 -0000 X-Bugzilla-Reason: QAcontact CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: C library X-Bugzilla-Version: 3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: 414256we@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015/txt/msg00074.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1002106 --- Comment #2 from Lea <414256we@gmail.com> --- Since in vfscanf.cxx, it just: #if 0 #define u_char unsigned char #endif #define u_char char This will course the function: static u_char * __sccl (char *tab, u_char *fmt); to rise a segment fault(invalid write) in for (;;) { tab[c] = v; /* take character c */ while it try to handle utf-8 byte. -- You are receiving this mail because: You are the QA Contact for the bug. You are on the CC list for the bug.