libpcap: Upgrade 1.10.6 -> 1.10.7
PATCH 1/1 libpcap: Upgrade 1.10.6 -> 1.10.7
- Changes: https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.10.7/CHANGES
- CVE fixes:
CVE-2026-0799: Access M[] safely in the BPF interpreter.
CVE-2026-31912: Mind the program bounds in pcap_offline_filter().
CVE-2026-31911: Fail opcodes safely in the BPF interpreter.
CVE-2026-6244: Avoid division by zero via pcap_offline_filter().
CVE-2026-6554: Limit "ja L" looping in pcap_offline_filter().
CVE-2026-18313: Fix a memory leak in rpcapd.
CVE-2026-18238: Fix RPCAP_MSG_PACKET validation.- Refresh 0001-Fix-error-messages-about-32-bit-integer-overflow.patch context
Signed-off-by Jaipaul Cheernam <[email protected]>
---
...error-messages-about-32-bit-integer-overflow.patch | 11 ++++-------
.../libpcap/{libpcap_1.10.6.bb => libpcap_1.10.7.bb} | 2 +-
2 files changed, 5 insertions(+), 8 deletions(-)
rename meta/recipes-connectivity/libpcap/{libpcap_1.10.6.bb => libpcap_1.10.7.bb} (95%)meta/recipes-connectivity/libpcap/libpcap/0001-Fix-error-messages-about-32-bit-integer-overflow.patch +4 -7
@@ -1,4 +1,4 @@ -From 217c3a07c7db694324b5c61eaaa07774735e2d7d Mon Sep 17 00:00:00 2001 +From 2a5eebec1e42d7a2562feb5e3d94d42f725d23a4 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko <[email protected]> Date: Thu, 9 Oct 2025 20:51:45 +0100 Subject: [PATCH] Fix error messages about 32-bit integer overflow.
@@ -40,7 +40,7 @@ Signed-off-by: Adarsh Jagadish Kamini <[email protected]> 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/pcap-filter.manmisc.in b/pcap-filter.manmisc.in -index bfb692ff..929d668d 100644 +index 2444ff7..3c8a190 100644 --- a/pcap-filter.manmisc.in +++ b/pcap-filter.manmisc.in @@ -18,7 +18,7 @@
@@ -52,7 +52,7 @@ index bfb692ff..929d668d 100644 .SH NAME pcap-filter \- packet filter syntax .br -@@ -886,6 +886,13 @@ integer constants (expressed in standard C syntax), the normal binary operators +@@ -885,6 +885,13 @@ integer constants (expressed in standard C syntax), the normal binary operators a length operator, and special packet data accessors. Note that all comparisons are unsigned, so that, for example, 0x80000000 and 0xffffffff are > 0.
@@ -67,7 +67,7 @@ index bfb692ff..929d668d 100644 The .B % diff --git a/scanner.l b/scanner.l -index 57779497..49aaeab2 100644 +index 405d331..bd708c9 100644 --- a/scanner.l +++ b/scanner.l @@ -48,8 +48,8 @@ typedef enum {
@@ -153,6 +153,3 @@ index 57779497..49aaeab2 100644 return STOULEN_ERROR; } n = (n * 10) + digit; --- -2.34.1 -
meta/recipes-connectivity/libpcap/libpcap_1.10.7.bb renamed from meta/recipes-connectivity/libpcap/libpcap_1.10.6.bb +1 -1
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native" SRC_URI = "https://www.tcpdump.org/release/${BP}.tar.xz \ file://0001-Fix-error-messages-about-32-bit-integer-overflow.patch \ " -SRC_URI[sha256sum] = "ec97d1206bdd19cb6bdd043eaa9f0037aa732262ec68e070fd7c7b5f834d5dfc" +SRC_URI[sha256sum] = "68fa62cffb974f4275641ce14c2e2d75739251f30e00e6a0900903b247d76a03" inherit autotools binconfig-disabled pkgconfig