diff --git a/3rdParty/LightPcapNg/LightPcapNg/src/light_pcapng.c b/3rdParty/LightPcapNg/LightPcapNg/src/light_pcapng.c index 7211adeba..eaac07a6b 100644 --- a/3rdParty/LightPcapNg/LightPcapNg/src/light_pcapng.c +++ b/3rdParty/LightPcapNg/LightPcapNg/src/light_pcapng.c @@ -62,7 +62,7 @@ static struct _light_option *__parse_options(uint32_t **memory, const int32_t ma (opt->option_length / alignment + 1) * alignment; // PCPP patch - // Validate option_length + // Validate actual_length if (actual_length <= 0 || actual_length > max_len - 2 * sizeof(*local_memory)) { free(opt); return NULL;