This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21093] mbsnrtowcs: *src is not left pointing to the next multibyte sequence to be converted when input buffer ends with incomplete multibyte sequence
- From: "igor.liferenko at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 17 Feb 2017 07:38:17 +0000
- Subject: [Bug libc/21093] mbsnrtowcs: *src is not left pointing to the next multibyte sequence to be converted when input buffer ends with incomplete multibyte sequence
- Auto-submitted: auto-generated
- References: <bug-21093-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21093
--- Comment #1 from Igor Liferenko <igor.liferenko at gmail dot com> ---
Let me pose the problem in another way:
The problem here is not that *src is changed incorrectly - according
to bugreport[1] it is changed correctly.
The problem here is that in the first example it is an incomplete multibyte
sequence and mbsnrtowcs() *must exit with error*, but it exits with success.
--
You are receiving this mail because:
You are on the CC list for the bug.