+
+ 711. [bug] The libisc and liblwres implementations of
+ inet_ntop contained an off by one error.
+
706. [bug] Zones with an explicit "allow-update { none; };"
were considered dynamic and therefore not reloaded
on SIGHUP or "rndc reload".
#if defined(LIBC_SCCS) && !defined(lint)
static char rcsid[] =
- "$Id: inet_ntop.c,v 1.9.4.1 2001/01/09 22:48:59 bwelling Exp $";
+ "$Id: inet_ntop.c,v 1.9.4.2 2001/01/25 20:13:37 gson Exp $";
#endif /* LIBC_SCCS and not lint */
#include <config.h>
static const char *fmt = "%u.%u.%u.%u";
char tmp[sizeof "255.255.255.255"];
- if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) > size) {
+ if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) >= size)
+ {
errno = ENOSPC;
return (NULL);
}
#if defined(LIBC_SCCS) && !defined(lint)
static char rcsid[] =
- "$Id: lwinetntop.c,v 1.5.4.1 2001/01/09 22:52:24 bwelling Exp $";
+ "$Id: lwinetntop.c,v 1.5.4.2 2001/01/25 20:13:38 gson Exp $";
#endif /* LIBC_SCCS and not lint */
#include <config.h>
static const char *fmt = "%u.%u.%u.%u";
char tmp[sizeof "255.255.255.255"];
- if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) > size) {
+ if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) >= size)
+ {
errno = ENOSPC;
return (NULL);
}