Bugtraq mailing list archives

Re: WuFTPD: Providing *remote* root since at least1994


From: netch () LUCKY NET (Valentin Nechayev)
Date: Thu, 29 Jun 2000 14:59:47 +0300


 Wed, Jun 28, 2000 at 16:46:15, deraadt wrote about "Re: WuFTPD: Providing *remote* root since at least1994":

a) Returns -1 and raw truncate without \0

b) Returns -1 and truncate with a \0

Can you please list the vendors who have the incorrect behaviours you
described in (a) and (b) so that we can properly bitch at them?

(b) - GNU libc versions:

==={
RETURN VALUE
       If  the output was truncated, the return value is -1, oth­
       erwise it is the number of characters stored, not  includ­
       ing the terminating null.  (Thus until glibc 2.0.6.  Since
       glibc 2.1 these functions return the  number of characters
       (excluding  the trailing null) which would have been writ­
       ten to the final string if enough space  had  been  avail­
       able.)
===}

(a) - Microsoft VC++ CRT (version 6.0 tested).

--
NVA



Current thread: