Commit 026f2cd4 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

DHCPv6 server now responds properly if client asks for a prefix that

is already assigned to a different client. [ISC-Bugs #23948]
parent 9ff9a4e8
......@@ -60,6 +60,10 @@ work on other platforms. Please report any problems and suggested fixes to
interfaces with the OS.
[ISC-Bugs #23722]
CVE: CVE-2011-0997
- DHCPv6 server now responds properly if client asks for a prefix that
is already assigned to a different client. [ISC-Bugs #23948]
Changes since 4.1-ESV
! When processing a request in the DHCPv6 server code that specifies
......
/*
* Copyright (C) 2006-2010 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2006-2011 by Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
......@@ -3697,7 +3697,9 @@ reply_process_try_prefix(struct reply_state *reply,
continue;
status = try_client_v6_prefix(&reply->lease, pool,
&data_pref);
if (status == ISC_R_SUCCESS)
/* If we found it in this pool (either in use or available),
there is no need to look further. */
if ( (status == ISC_R_SUCCESS) || (status == ISC_R_ADDRINUSE) )
break;
}
......
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