Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/dist/bind/lib/resolv Pull up revision 1.1 (requested by...



details:   https://anonhg.NetBSD.org/src/rev/dcf424351504
branches:  netbsd-1-6
changeset: 528240:dcf424351504
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 11:58:22 2002 +0000

description:
Pull up revision 1.1 (requested by itojun in ticket #387):
Update to BIND 8.3.3.  Fixes buffer overrun in resolver code.

diffstat:

 dist/bind/lib/resolv/res_private.h |  23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diffs (27 lines):

diff -r 2b4ed06cc880 -r dcf424351504 dist/bind/lib/resolv/res_private.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/dist/bind/lib/resolv/res_private.h        Fri Jun 28 11:58:22 2002 +0000
@@ -0,0 +1,23 @@
+/*     $NetBSD: res_private.h,v 1.1.1.1.2.2 2002/06/28 11:58:22 lukem Exp $    */
+
+#ifndef res_private_h
+#define res_private_h
+
+struct __res_state_ext {
+       union res_sockaddr_union nsaddrs[MAXNS];
+       struct sort_list {
+               int     af;
+               union {
+                       struct in_addr  ina;
+                       struct in6_addr in6a;
+               } addr, mask;
+       } sort_list[MAXRESOLVSORT];
+       char nsuffix[64];
+       char bsuffix[64];
+       char nsuffix2[64];
+};
+
+extern int
+res_ourserver_p(const res_state statp, const struct sockaddr *sa);
+
+#endif



Home | Main Index | Thread Index | Old Index