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/15381] open_memstream() does not initialize wide character struct info, leading to a crash


http://sourceware.org/bugzilla/show_bug.cgi?id=15381

--- Comment #2 from Julius Plenz <libc-bugs at plenz dot com> 2013-04-21 18:58:00 UTC ---
True. When you issue fwide() on such a stream, it is already determined that it
is char-oriented. I didnât see that until now.

In my opinion it would be good to expose this âundefinedâ behavior by
invalidating the pointer. Because right now youâll only see this bug in âluckyâ
circumstances; often it will go unnoticed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]