In message <199907152358.qaa01...@dingo.cdrom.com> Mike Smith writes:
:       if (strlen(buf) >= sizeof(buf))
:               return(error);

This can never be true with the strl functions....  They don't run off
the end, so strlen(buf) is always going to be < sizeof(buf) since it
doesn't include the traling null.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to