This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/22039] libio: gconv initialization failure silently results in wrong data
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 30 Aug 2017 11:21:08 +0000
- Subject: [Bug stdio/22039] libio: gconv initialization failure silently results in wrong data
- Auto-submitted: auto-generated
- References: <bug-22039-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22039
--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
__wcsmbs_load_conv needs to be fixed to return an error state, and _IO_fwide
and its callers need to handle the error.
The C standard seems to allow a failing fwide call (zero return value for a
non-zero mode argument).
--
You are receiving this mail because:
You are on the CC list for the bug.