dhcp: prevent dhcp_cleanup passing external data to heap

This commit is contained in:
Simon Goldschmidt
2021-03-04 22:20:17 +01:00
parent c7e1b35899
commit 3ff267fbed
2 changed files with 9 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ extern "C" {
#define DHCP_BOOT_FILE_LEN 128U
#define DHCP_FLAG_SUBNET_MASK_GIVEN 0x01
#define DHCP_FLAG_EXTERNAL_MEM 0x02
/* AutoIP cooperation flags (struct dhcp.autoip_coop_state) */
typedef enum {