Incorrect return types for snprintf() and vsnprintf()

Richard Kettlewell rjk at
Sat Oct 20 00:44:37 EST 2001

"s c o t t" <spaceacademy at> writes:

> Both of these functions are using strlen() to create return value.

This patch would make the -compat versions incompatible with the
standard versions of [v]snprintf, which return int (and in particular,
return -1 to signal certain errors).


More information about the openssh-unix-dev mailing list