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/10818] printf("%s\n", NULL) segfaults


------- Additional Comments From kir at sacred dot ru  2009-10-21 10:45 -------
Yet one more relevant bug to gcc:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25609

>From my perspective the best thing to do is to let puts with NULL argument to
print "(null)\n", just for the consistency with printf's behavior, and with a
"side effect" of fixing this bug (caused by gcc optimization, but nevertheless).

-- 


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

------- 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]