Date: Fri, 25 Oct 2002 09:24:28 -0700 (PDT) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getaddrinfo.c Message-ID: <200210251624.g9PGOS9M004363@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2002/10/25 09:24:28 PDT Modified files: lib/libc/net getaddrinfo.c Log: - kill strcpy - port range check need to be done before htons. from deraadt - %d/%u audit - correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. - use snprintf, not sprintf - pass correct name into q.name. from lukem@netbsd - sync comment Obtained from: KAME MFC after: 1 week Revision Changes Path 1.35 +56 -67 src/lib/libc/net/getaddrinfo.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210251624.g9PGOS9M004363>