This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]