Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing

This commit is contained in:
zhiweijian
2022-12-28 14:59:38 +08:00
parent b0a79bba7c
commit 7c9d47b702
2 changed files with 23 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ typedef enum {
ESP_BLUFI_DATA_FORMAT_ERROR,
ESP_BLUFI_CALC_MD5_ERROR,
ESP_BLUFI_WIFI_SCAN_FAIL,
ESP_BLUFI_MSG_STATE_ERROR,
} esp_blufi_error_state_t;
/**