Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
dhcp
Commits
40ec5f38
Commit
40ec5f38
authored
Jun 11, 2008
by
David Hankins
Browse files
- A double-dereference in dhclient transmission of DHCPDECLINEs was
repaired. [ISC-Bugs #18097]
parent
420d8b3f
Changes
4
Hide whitespace changes
Inline
Side-by-side
README
View file @
40ec5f38
Internet Systems Consortium DHCP Distribution
Version 4.1.0a
1
2
4 J
anuary
2008
Version 4.1.0a
2
4 J
une
2008
README FILE
...
...
@@ -129,12 +129,12 @@ information. On Digital Unix, type ``man pfilt''.
To build the DHCP Distribution, unpack the compressed tar file using
the tar utility and the gzip command - type something like:
gunzip dhcp-4.1.0a
1
.tar.gz
tar xvf dhcp-4.1.0a
1
.tar
gunzip dhcp-4.1.0a
2
.tar.gz
tar xvf dhcp-4.1.0a
2
.tar
CONFIGURING IT
Now, cd to the dhcp-4.1.0a
1
subdirectory that you've just created and
Now, cd to the dhcp-4.1.0a
2
subdirectory that you've just created and
configure the source tree by typing:
./configure
...
...
RELNOTES
View file @
40ec5f38
Internet
Systems
Consortium
DHCP
Distribution
Version
4.1.0
a
1
2
4
J
anuary
2008
Version
4.1.0
a
2
4
J
une
2008
Release
Notes
...
...
@@ -86,6 +86,9 @@ work on other platforms. Please report any problems and suggested fixes to
-
Integrated
client
with
stateless
,
temporary
address
and
prefix
delegation
support
.
-
A
double
-
dereference
in
dhclient
transmission
of
DHCPDECLINEs
was
repaired
.
Changes
since
4.0.0
(
new
features
)
-
Added
DHCPv6
rapid
commit
support
.
...
...
client/dhclient.c
View file @
40ec5f38
...
...
@@ -2432,12 +2432,13 @@ void make_decline (client, lease)
struct
option_state
*
options
=
(
struct
option_state
*
)
0
;
/* Create the options cache. */
oc
=
lookup_option
(
&
dhcp_universe
,
lease
->
options
,
DHO_DHCP_SERVER_IDENTIFIER
);
make_client_options
(
client
,
lease
,
&
decline
,
oc
,
&
lease
->
address
,
NULL
,
&
options
);
/*
Set up
the option buffer.
..
*/
/*
Consume the options cache into
the option buffer. */
memset
(
&
client
->
packet
,
0
,
sizeof
(
client
->
packet
));
client
->
packet_length
=
cons_options
((
struct
packet
*
)
0
,
&
client
->
packet
,
...
...
@@ -2445,10 +2446,12 @@ void make_decline (client, lease)
(
struct
option_state
*
)
0
,
options
,
&
global_scope
,
0
,
0
,
0
,
(
struct
data_string
*
)
0
,
client
->
config
->
vendor_space_name
);
/* Destroy the options cache. */
option_state_dereference
(
&
options
,
MDL
);
if
(
client
->
packet_length
<
BOOTP_MIN_LEN
)
client
->
packet_length
=
BOOTP_MIN_LEN
;
option_state_dereference
(
&
options
,
MDL
);
client
->
packet
.
op
=
BOOTREQUEST
;
client
->
packet
.
htype
=
client
->
interface
->
hw_address
.
hbuf
[
0
];
...
...
configure.ac
View file @
40ec5f38
AC_INIT([DHCP], [4.1.0a
1
], [dhcp-users@isc.org])
AC_INIT([DHCP], [4.1.0a
2
], [dhcp-users@isc.org])
# we specify "foreign" to avoid having to have the GNU mandated files,
# like AUTHORS, COPYING, and such
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment