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/include/isc Pull up revision 1.4 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/1e124e575144
branches:  netbsd-1-6
changeset: 528170:1e124e575144
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 28 11:39:07 2002 +0000

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

diffstat:

 dist/bind/include/isc/logging.h |  14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r a91d1cf2a73d -r 1e124e575144 dist/bind/include/isc/logging.h
--- a/dist/bind/include/isc/logging.h   Fri Jun 28 11:38:58 2002 +0000
+++ b/dist/bind/include/isc/logging.h   Fri Jun 28 11:39:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: logging.h,v 1.3 2001/01/27 07:22:02 itojun Exp $       */
+/*     $NetBSD: logging.h,v 1.3.2.1 2002/06/28 11:39:07 lukem Exp $    */
 
 /*
  * Copyright (c) 1996-1999 by Internet Software Consortium.
@@ -74,6 +74,7 @@
 #define log_dec_references     __log_dec_references
 #define log_get_channel_type   __log_get_channel_type
 #define log_free_channel       __log_free_channel
+#define log_close_debug_channels       __log_close_debug_channels
 
 FILE *                 log_open_stream(log_channel);
 int                    log_close_stream(log_channel);
@@ -81,11 +82,17 @@
 char *                 log_get_filename(log_channel);
 int                    log_check_channel(log_context, int, log_channel);
 int                    log_check(log_context, int, int);
+#ifdef __GNUC__
 void                   log_vwrite(log_context, int, int, const char *, 
                                   va_list args)
      __attribute__((__format__(__printf__, 4, 0)));
 void                   log_write(log_context, int, int, const char *, ...)
-     __attribute__((__format__(__printf__, 4, 5)));
+                               __attribute__((__format__(__printf__, 4, 5)));
+#else
+void                   log_vwrite(log_context, int, int, const char *, 
+                                  va_list args)
+void                   log_write(log_context, int, int, const char *, ...);
+#endif
 int                    log_new_context(int, char **, log_context *);
 void                   log_free_context(log_context);
 int                    log_add_channel(log_context, int, log_channel);
@@ -93,7 +100,7 @@
 int                    log_option(log_context, int, int);
 int                    log_category_is_active(log_context, int);
 log_channel            log_new_syslog_channel(unsigned int, int, int);
-log_channel            log_new_file_channel(unsigned int, int, char *,
+log_channel            log_new_file_channel(unsigned int, int, const char *,
                                             FILE *, unsigned int,
                                             unsigned long);
 int                    log_set_file_owner(log_channel, uid_t, gid_t);
@@ -102,5 +109,6 @@
 int                    log_dec_references(log_channel);
 log_channel_type       log_get_channel_type(log_channel);
 int                    log_free_channel(log_channel);
+void                   log_close_debug_channels(log_context);
 
 #endif /* !LOGGING_H */



Home | Main Index | Thread Index | Old Index