[ISC-Bugs #37954]
[ISC-Bugs #40752]
+- Add a dereference call when handling an error condition while
+ decoding a packet and clean up some memory on error conditions.
+ [ISC-Bugs #41774]
+
Changes since 4.1-ESV-R12b1
- None
DHCP options parsing and reassembly. */
/*
- * Copyright (c) 2004-2012,2014 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2004-2012,2014,2016 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1995-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
/* Allocate packet->options now so it is non-null for all packets */
decoded_packet->options_valid = 0;
if (!option_state_allocate (&decoded_packet->options, MDL)) {
+ packet_dereference(&decoded_packet, MDL);
return;
}