This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15381] open_memstream() does not initialize wide character struct info, leading to a crash
- From: "libc-bugs at plenz dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 21 Apr 2013 18:58:00 +0000
- Subject: [Bug libc/15381] open_memstream() does not initialize wide character struct info, leading to a crash
- Auto-submitted: auto-generated
- References: <bug-15381-131 at http dot sourceware dot org/bugzilla/>
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.