On Thu, May 23, 2013 at 05:05:45PM -0400, Ted Unangst wrote: > I was looking at mandoc and noticed it has too many strlcats (a common > affliction affecting quite a few programs.) It's faster and simpler to > use snprintf.
In glibc snprintf has a memory allocation failure mode. I'm curious: is OpenBSD committed to avoiding extensions (locale features, etc) which might trigger allocation failure?