On 22/08/14 09:48, Damien Miller wrote:
Does your libc vsnprintf() support checking the length of the formatted
string this way? (AFAIK SUSv3 requires it).
No, this does not work on Solaris 9 and older.
Gnulib has a list of platforms with this bug here:
https://www.gnu.org/software/gnulib/manual/html_node/snprintf.html
We should check for it in configure anyway...
<snip patch>
checking whether vsnprintf returns correct values on overflow... no
configure: WARNING: ****** Your vsnprintf() function is broken, complain
to your vendor
The testsuite now passes on Solaris 8 and 9.
-tgc
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev