"Secure coding" audit checkers and Kerberos
lukeh at padl.com
Tue Oct 14 23:11:12 EDT 2008
>> snprintf() first appeared on Solaris 2.6 but its behaviour differs to
>> most other platforms, in that it returns the number of bytes that
>> have been written regardless of buffer size.
> I think you accidentally got that backwards. That's the behavior
> everywhere else, and is required by C99, but Solaris returned -1
My bad, sorry!
More information about the krbdev