Date: Fri, 13 Sep 2002 13:31:29 -0700 (PDT) From: Jacques Vidrine <nectar@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getaddrinfo.c gethostbydns.c getnetbydns.c name6.c res_query.c res_update.c Message-ID: <200209132031.g8DKVT9g043560@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
nectar 2002/09/13 13:31:29 PDT
Modified files:
lib/libc/net getaddrinfo.c gethostbydns.c
getnetbydns.c name6.c res_query.c
res_update.c
Log:
When using res_send/res_query/res_search, the caller must either
insure enough space is available for the response, or be prepared
to resize the buffer and retry as necessary.
Do the conservative thing and make sure enough space is available.
Reviewed by: silence on freebsd-audit
Revision Changes Path
1.30 +1 -5 src/lib/libc/net/getaddrinfo.c
1.37 +1 -5 src/lib/libc/net/gethostbydns.c
1.22 +1 -5 src/lib/libc/net/getnetbydns.c
1.25 +1 -5 src/lib/libc/net/name6.c
1.24 +1 -5 src/lib/libc/net/res_query.c
1.5 +2 -1 src/lib/libc/net/res_update.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?200209132031.g8DKVT9g043560>
