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/4438] vfprintf() segfault with multibyte string and long precision


------- Additional Comments From madcoder at debian dot org  2007-04-30 18:40 -------
(In reply to comment #1)
> Created an attachment (id=1742)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1742&action=view)
> fix for that bug

except that it does not work, presumably because when passing NULL as dst, the 
mbstate is not updated.
 
The current code forcing the conversion into a wchar string seems quite sloppy, 
but I see no obvious way to deal with it. So a better patch will need to be 
worked out :|

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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