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 stdio/22039] libio: gconv initialization failure silently results in wrong data


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.

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