Date: Fri, 8 Nov 2002 09:49:32 -0800 (PST) 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: <200211081749.gA8HnW6T058727@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2002/11/08 09:49:32 PST
Modified files: (Branch: RELENG_4)
lib/libc/net getaddrinfo.c
Log:
MFC 1.35, 1.36:
- 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
- scopeid is u_int32_t
- strtoul pedant. pointed out by deraadt
Revision Changes Path
1.9.2.14 +75 -79 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?200211081749.gA8HnW6T058727>
