Commit bc3b86ba authored by Shawn Routhier's avatar Shawn Routhier
Browse files

Enlarge the buffer size used by the Omshell code and some of the

print routines to allow for greater than 60 characters or, when
printing as hex strings, 20 characters.  [ISC-Bugs #22743]
parent 1c29755c
......@@ -173,6 +173,10 @@ work on other platforms. Please report any problems and suggested fixes to
case of the default router information being changed without the address
being changed.
- Enlarge the buffer size used by the Omshell code and some of the
print routines to allow for greater than 60 characters or, when
printing as hex strings, 20 characters. [ISC-Bugs #22743]
Changes since 4.1-ESV-R1
! In dhclient check the data for some string options for
......
......@@ -435,7 +435,7 @@ void print_hex_or_string (len, data, limit, buf)
* limit - length of buf
* buf_num - the output buffer to use
*/
#define HBLEN 60
#define HBLEN 1024
char *print_hex(len, data, limit, buf_num)
unsigned len;
const u_int8_t *data;
......
......@@ -3,7 +3,7 @@
Examine and modify omapi objects. */
/*
* Copyright (c) 2009-2010 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2009-2011 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2004-2007 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2001-2003 by Internet Software Consortium
*
......@@ -99,7 +99,7 @@ main(int argc, char **argv) {
char buf[1024];
char s1[1024];
int connected = 0;
char hex_buf[61];
char hex_buf[1025];
for (i = 1; i < argc; i++) {
usage(argv[0]);
......
......@@ -27,7 +27,7 @@
.\" Support and other services are available for ISC products - see
.\" https://www.isc.org for more information or to learn more about ISC.
.\"
.\" $Id: dhcpd.conf.5,v 1.99.10.4.6.1 2011/04/26 00:01:57 sar Exp $
.\" $Id: dhcpd.conf.5,v 1.99.10.4.6.2 2011/06/01 23:38:06 sar Exp $
.\"
.TH dhcpd.conf 5
.SH NAME
......@@ -1251,7 +1251,7 @@ chooses a new name.
The interim DNS update scheme is called interim for two reasons.
First, it does not quite follow the RFCs. The RFCs call for a
new DHCID RRtype while he interim DNS update scheme uses a TXT record.
The ddns-resolution draft cllaed for the DHCP server to put a DHCID RR
The ddns-resolution draft called for the DHCP server to put a DHCID RR
on the PTR record, but the \fIinterim\fR update method does not do this.
In the final RFC this requirement was relaxed such that a server may
add a DHCID RR to the PTR record.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment