mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05:00
680. [bug] dns_rdata_fromstruct() mis-handles options bigger
than 255 octets.
This commit is contained in:
parent
6df90b6515
commit
7dbb39a417
2 changed files with 5 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
680. [bug] dns_rdata_fromstruct() mis-handles options bigger
|
||||
than 255 octets.
|
||||
|
||||
679. [bug] $INCLUDE could leak memory and file descriptors on
|
||||
reload. [RT #639]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: opt_41.c,v 1.20 2001/01/09 21:54:33 bwelling Exp $ */
|
||||
/* $Id: opt_41.c,v 1.21 2001/01/16 06:14:00 marka Exp $ */
|
||||
|
||||
/* Reviewed: Thu Mar 16 14:06:44 PST 2000 by gson */
|
||||
|
||||
|
|
@ -158,7 +158,7 @@ static inline isc_result_t
|
|||
fromstruct_opt(ARGS_FROMSTRUCT) {
|
||||
dns_rdata_opt_t *opt = source;
|
||||
isc_region_t region;
|
||||
isc_uint8_t length;
|
||||
isc_uint16_t length;
|
||||
|
||||
REQUIRE(type == 41);
|
||||
REQUIRE(source != NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue