[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: snprintf(3) behaviour regarding large "n"
|Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX
|(well FreeBSD documents INT_MAX + 1, but in the code it is INT_MAX).
hm, ok, yes S-nail without the fix doesn't print the Message-Id:
even on FreeBSD, but at least the buffer is terminated at  and
thus no binary garbage is printed when the buffer is printed.
Main Index |
Thread Index |