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/5424] printf doesn't behave correctly with huge numbers of characters


------- Additional Comments From vincent+libc at vinc17 dot org  2007-11-28 13:25 -------
I found the following with Google:

http://www.opengroup.org/platform/resolutions/bwg98-006.html

"In addition, snprintf() will fail if:
[EOVERFLOW] The value of n is greater than INT_MAX
or the number of bytes needed to hold
the output excluding the terminating
null is greater than INT_MAX."

This is also in a recent POSIX draft (I haven't checked the latest).

-- 


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

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