This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1002106] Bugs in vfscanf.cxx to deal with utf-8
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Fri, 20 Nov 2015 08:19:37 +0000
- Subject: [Bug 1002106] Bugs in vfscanf.cxx to deal with utf-8
- Authentication-results: sourceware.org; auth=none
- Authentication-results: mail.ecoscentric.com; dkim=permerror (bad message/signature format)
- Auto-submitted: auto-generated
- References: <bug-1002106-13 at http dot bugs dot ecos dot sourceware dot org/>
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.