Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2224937/?format=api
{ "id": 2224937, "url": "http://patchwork.ozlabs.org/api/patches/2224937/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260419183739.2596300-1-bernd@kuhls.net/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260419183739.2596300-1-bernd@kuhls.net>", "list_archive_url": null, "date": "2026-04-19T18:37:39", "name": "[1/1] package/netsnmp: bump version to 5.9.5.2", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3847c22fdcc03d9518754687aaa63c32ec616097", "submitter": { "id": 86624, "url": "http://patchwork.ozlabs.org/api/people/86624/?format=api", "name": "Bernd Kuhls", "email": "bernd@kuhls.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260419183739.2596300-1-bernd@kuhls.net/mbox/", "series": [ { "id": 500525, "url": "http://patchwork.ozlabs.org/api/series/500525/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=500525", "date": "2026-04-19T18:37:39", "name": "[1/1] package/netsnmp: bump version to 5.9.5.2", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500525/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2224937/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2224937/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@buildroot.org>", "X-Original-To": [ "incoming-buildroot@patchwork.ozlabs.org", "buildroot@buildroot.org" ], "Delivered-To": [ "patchwork-incoming-buildroot@legolas.ozlabs.org", "buildroot@buildroot.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=OPUMRjOH;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzHRf4cxnz1yGt\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Mon, 20 Apr 2026 04:37:50 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id E7EA040F65;\n\tSun, 19 Apr 2026 18:37:47 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id bj1MjisSJ7Yk; Sun, 19 Apr 2026 18:37:46 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 8D66240F66;\n\tSun, 19 Apr 2026 18:37:46 +0000 (UTC)", "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists1.osuosl.org (Postfix) with ESMTP id A76D12B8\n for <buildroot@buildroot.org>; Sun, 19 Apr 2026 18:37:44 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 8D8FA40F66\n for <buildroot@buildroot.org>; Sun, 19 Apr 2026 18:37:44 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id V_fqNchh8p5V for <buildroot@buildroot.org>;\n Sun, 19 Apr 2026 18:37:43 +0000 (UTC)", "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp4.osuosl.org (Postfix) with ESMTPS id F182840F65\n for <buildroot@buildroot.org>; Sun, 19 Apr 2026 18:37:42 +0000 (UTC)", "from fli4l.lan.fli4l (p4fd6cc94.dip0.t-ipconnect.de\n [79.214.204.148])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 69B4AA4C38E6\n for <buildroot@buildroot.org>; Sun, 19 Apr 2026 20:37:40 +0200 (CEST)", "from bruckner.lan.fli4l ([192.168.1.1]:44462)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wEX1X-000000007Xc-3exP\n for buildroot@buildroot.org; Sun, 19 Apr 2026 18:37:40 +0000" ], "X-Virus-Scanned": [ "amavis at osuosl.org", "amavis at osuosl.org" ], "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ", "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 8D66240F66", "OpenDKIM Filter v2.11.0 smtp4.osuosl.org F182840F65" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776623866;\n\tbh=RHe3/PrU6XBinQqwoxpF6pouF0oxlg2C0/OpHQ7mu6A=;\n\th=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=OPUMRjOHLEQGi0A7a9LmthGkqQUindg8/abi6WJo9W9GPn1eY8j8mqB3a9IDBXn9t\n\t xqPcglzJA9LWtF5+Yvryz/6ALl7UQgsx4IDm1iPiR6JoLzehQ33igoEL5j++3tXCky\n\t QJsnoyxf6NCySu5jidju+BI+hJ6CR5iIWTdVBrdXXuXL1HPWsIw/pRTV6cPJoHxJoF\n\t MxxJjf9/rUHx0imZ8wNGAzxNUsZ2bx4Bp7Lz3pRmHoENJcDJL2EXrW3xwhM/RrxrXe\n\t rSJZAovWYUtt9vptEoDMttpQkVgwo2I61aPoV59CbHLaAB3JL/LhLordHrl5rrwDg+\n\t Sm32kWM4/2uPw==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57;\n helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org F182840F65", "From": "Bernd Kuhls <bernd@kuhls.net>", "To": "buildroot@buildroot.org", "Date": "Sun, 19 Apr 2026 20:37:39 +0200", "Message-ID": "<20260419183739.2596300-1-bernd@kuhls.net>", "X-Mailer": "git-send-email 2.47.3", "MIME-Version": "1.0", "X-Spamd-Bar": "--", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=kuhls.net;\n s=kas202511301023; t=1776623860;\n bh=E2/rYuOPtOOk/Eb9il8lr81fE2dscJzpw/WpfqkX5KU=;\n h=From:To:Subject:Date:From;\n b=vM1pFD3F+b8ImjStXHJzOOdFz6piBN0Y/UWLYJV0UUs1TMPHjL5tDv6YSyt2S87kq\n c+nwE8JSXwNphe8cZ5ZRmvY4i6S7YLRUgz7x4mtGZh1s9xee7geUEEs9klPkIZwjyl\n DqQWCahV2X5ZxxvuEptfrsxev26ECLmVuVaUT5LLrx1ulNlTSpDlaQu9VZMpn1iCJF\n kIM2SD4uj6zdYLfhrBN40B6kGkltmWcfvi37yh/xE7klxnyWeyebKXtLWf5a2B1cGm\n V/Hg2yGyReZJ+SNCVSnB8g31HP2MFtDBPuXcALK9zGQ41sCVhhnyklfr2TY1v4ZIO+\n 7MRIs1QdNJxPA==", "X-Mailman-Original-Authentication-Results": [ "smtp4.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net", "smtp4.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256\n header.s=kas202511301023 header.b=vM1pFD3F" ], "Subject": "[Buildroot] [PATCH 1/1] package/netsnmp: bump version to 5.9.5.2", "X-BeenThere": "buildroot@buildroot.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>", "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>", "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@buildroot.org>", "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>", "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@buildroot.org", "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>" }, "content": "https://github.com/net-snmp/net-snmp/blob/v5.9.5.2/CHANGES\n\nRemoved all patches, they are included in this release.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n ...-compatibility-parsing-proc-net-snmp.patch | 125 ------------------\n ...onfiguration-of-NETSNMP_FD_MASK_TYPE.patch | 39 ------\n .../netsnmp/0003-Android-Fix-the-build.patch | 81 ------------\n ...d-Fix-out-of-bounds-trapOid-accesses.patch | 32 -----\n package/netsnmp/netsnmp.hash | 6 +-\n package/netsnmp/netsnmp.mk | 6 +-\n 6 files changed, 5 insertions(+), 284 deletions(-)\n delete mode 100644 package/netsnmp/0001-Add-Linux-6.7-compatibility-parsing-proc-net-snmp.patch\n delete mode 100644 package/netsnmp/0002-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch\n delete mode 100644 package/netsnmp/0003-Android-Fix-the-build.patch\n delete mode 100644 package/netsnmp/0004-snmptrapd-Fix-out-of-bounds-trapOid-accesses.patch", "diff": "diff --git a/package/netsnmp/0001-Add-Linux-6.7-compatibility-parsing-proc-net-snmp.patch b/package/netsnmp/0001-Add-Linux-6.7-compatibility-parsing-proc-net-snmp.patch\ndeleted file mode 100644\nindex 0c15543c0f..0000000000\n--- a/package/netsnmp/0001-Add-Linux-6.7-compatibility-parsing-proc-net-snmp.patch\n+++ /dev/null\n@@ -1,125 +0,0 @@\n-From 8350fd9e9c8bd97f587809265516f61aa7fe8aa0 Mon Sep 17 00:00:00 2001\n-From: Philippe Troin <phil+github-commits@fifi.org>\n-Date: Sat, 3 Feb 2024 10:30:30 -0800\n-Subject: [PATCH] Add Linux 6.7 compatibility parsing /proc/net/snmp\n-\n-Linux 6.7 adds a new OutTransmits field to Ip in /proc/net/snmp.\n-This breaks the hard-coded assumptions about the Ip line length.\n-Add compatibility to parse Linux 6.7 Ip header while keep support\n-for previous versions.\n-\n-Upstream: https://github.com/net-snmp/net-snmp/commit/49d60ba57f4b462df7dc5fd5b38b4425dab0982c\n-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>\n----\n- .../ip-mib/data_access/systemstats_linux.c | 46 +++++++++++++++----\n- 1 file changed, 37 insertions(+), 9 deletions(-)\n-\n-diff --git a/agent/mibgroup/ip-mib/data_access/systemstats_linux.c b/agent/mibgroup/ip-mib/data_access/systemstats_linux.c\n-index a0fbdd9ffa..8eb40742b4 100644\n---- a/agent/mibgroup/ip-mib/data_access/systemstats_linux.c\n-+++ b/agent/mibgroup/ip-mib/data_access/systemstats_linux.c\n-@@ -36,7 +36,7 @@ netsnmp_access_systemstats_arch_init(void)\n- }\n- \n- /*\n-- /proc/net/snmp\n-+ /proc/net/snmp - Linux 6.6 and lower\n- \n- Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreates\n- Ip: 2 64 7083534 0 0 0 0 0 6860233 6548963 0 0 1 286623 63322 1 259920 0 0\n-@@ -49,6 +49,26 @@ netsnmp_access_systemstats_arch_init(void)\n- \n- Udp: InDatagrams NoPorts InErrors OutDatagrams\n- Udp: 1491094 122 0 1466178\n-+*\n-+ /proc/net/snmp - Linux 6.7 and higher\n-+\n-+ Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreates OutTransmits\n-+ Ip: 1 64 50859058 496 0 37470604 0 0 20472980 7515791 1756 0 0 7264 3632 0 3548 0 7096 44961424\n-+\n-+ Icmp: InMsgs InErrors InCsumErrors InDestUnreachs InTimeExcds InParmProbs InSrcQuenchs InRedirects InEchos InEchoReps InTimestamps InTimestampReps InAddrMasks InAddrMaskReps OutMsgs OutErrors OutRateLimitGlobal OutRateLimitHost OutDestUnreachs OutTimeExcds OutParmProbs OutSrcQuenchs OutRedirects OutEchos OutEchoReps OutTimestamps OutTimestampReps OutAddrMasks OutAddrMaskReps\n-+ Icmp: 114447 2655 0 17589 0 0 0 0 66905 29953 0 0 0 0 143956 0 0 572 16610 484 0 0 0 59957 66905 0 0 0 0\n-+\n-+ IcmpMsg: InType0 InType3 InType8 OutType0 OutType3 OutType8 OutType11\n-+ IcmpMsg: 29953 17589 66905 66905 16610 59957 484\n-+\n-+ Tcp: RtoAlgorithm RtoMin RtoMax MaxConn ActiveOpens PassiveOpens AttemptFails EstabResets CurrEstab InSegs OutSegs RetransSegs InErrs OutRsts InCsumErrors\n-+ Tcp: 1 200 120000 -1 17744 13525 307 3783 6 18093137 9277788 3499 8 7442 0\n-+\n-+ Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors IgnoredMulti MemErrors\n-+ Udp: 2257832 1422 0 2252835 0 0 0 84 0\n-+\n-+ UdpLite: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors IgnoredMulti MemErrors\n-+ UdpLite: 0 0 0 0 0 0 0 0 0\n- */\n- \n- \n-@@ -101,10 +121,10 @@ _systemstats_v4(netsnmp_container* container, u_int load_flags)\n- FILE *devin;\n- char line[1024];\n- netsnmp_systemstats_entry *entry = NULL;\n-- int scan_count;\n-+ int scan_count, expected_scan_count;\n- char *stats, *start = line;\n- int len;\n-- unsigned long long scan_vals[19];\n-+ unsigned long long scan_vals[20];\n- \n- DEBUGMSGTL((\"access:systemstats:container:arch\", \"load v4 (flags %x)\\n\",\n- load_flags));\n-@@ -126,10 +146,17 @@ _systemstats_v4(netsnmp_container* container, u_int load_flags)\n- */\n- NETSNMP_IGNORE_RESULT(fgets(line, sizeof(line), devin));\n- len = strlen(line);\n-- if (224 != len) {\n-+ switch (len) {\n-+ case 224:\n-+\texpected_scan_count = 19;\n-+\tbreak;\n-+ case 237:\n-+\texpected_scan_count = 20;\n-+\tbreak;\n-+ default:\n- fclose(devin);\n- snmp_log(LOG_ERR, \"systemstats_linux: unexpected header length in /proc/net/snmp.\"\n-- \" %d != 224\\n\", len);\n-+ \" %d not in { 224, 237 } \\n\", len);\n- return -4;\n- }\n- \n-@@ -178,20 +205,20 @@ _systemstats_v4(netsnmp_container* container, u_int load_flags)\n- memset(scan_vals, 0x0, sizeof(scan_vals));\n- scan_count = sscanf(stats,\n- \"%llu %llu %llu %llu %llu %llu %llu %llu %llu %llu\"\n-- \"%llu %llu %llu %llu %llu %llu %llu %llu %llu\",\n-+ \"%llu %llu %llu %llu %llu %llu %llu %llu %llu %llu\",\n- &scan_vals[0],&scan_vals[1],&scan_vals[2],\n- &scan_vals[3],&scan_vals[4],&scan_vals[5],\n- &scan_vals[6],&scan_vals[7],&scan_vals[8],\n- &scan_vals[9],&scan_vals[10],&scan_vals[11],\n- &scan_vals[12],&scan_vals[13],&scan_vals[14],\n- &scan_vals[15],&scan_vals[16],&scan_vals[17],\n-- &scan_vals[18]);\n-+ &scan_vals[18],&scan_vals[19]);\n- DEBUGMSGTL((\"access:systemstats\", \" read %d values\\n\", scan_count));\n- \n-- if(scan_count != 19) {\n-+ if(scan_count != expected_scan_count) {\n- snmp_log(LOG_ERR,\n- \"error scanning systemstats data (expected %d, got %d)\\n\",\n-- 19, scan_count);\n-+ expected_scan_count, scan_count);\n- netsnmp_access_systemstats_entry_free(entry);\n- return -4;\n- }\n-@@ -223,6 +250,7 @@ _systemstats_v4(netsnmp_container* container, u_int load_flags)\n- entry->stats.HCOutFragFails.high = scan_vals[17] >> 32;\n- entry->stats.HCOutFragCreates.low = scan_vals[18] & 0xffffffff;\n- entry->stats.HCOutFragCreates.high = scan_vals[18] >> 32;\n-+ /* entry->stats. = scan_vals[19]; / * OutTransmits */\n- \n- entry->stats.columnAvail[IPSYSTEMSTATSTABLE_HCINRECEIVES] = 1;\n- entry->stats.columnAvail[IPSYSTEMSTATSTABLE_INHDRERRORS] = 1;\n--- \n-2.49.0\n-\ndiff --git a/package/netsnmp/0002-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch b/package/netsnmp/0002-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch\ndeleted file mode 100644\nindex cc45957c59..0000000000\n--- a/package/netsnmp/0002-Fix-configuration-of-NETSNMP_FD_MASK_TYPE.patch\n+++ /dev/null\n@@ -1,39 +0,0 @@\n-From af1b7f77975bbb2fcbdb3f005f8cb010d1d33cd3 Mon Sep 17 00:00:00 2001\n-From: Adam Gajda <adgajda@users.noreply.github.com>\n-Date: Mon, 2 Oct 2023 16:40:31 +0200\n-Subject: [PATCH] Fix configuration of NETSNMP_FD_MASK_TYPE\n-\n-Upstream: https://github.com/net-snmp/net-snmp/commit/af1b7f77975bbb2fcbdb3f005f8cb010d1d33cd3\n-\n-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n----\n- configure | 2 +-\n- configure.d/config_project_types | 2 +-\n- 2 files changed, 2 insertions(+), 2 deletions(-)\n-\n-diff --git a/configure b/configure\n-index 50522690f5..5512349926 100755\n---- a/configure\n-+++ b/configure\n-@@ -31577,7 +31577,7 @@ CFLAGS=\"$CFLAGS -Werror\"\n- \n- { printf \"%s\\n\" \"$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits\" >&5\n- printf %s \"checking for the type of fd_set::fds_bits... \" >&6; }\n--for type in __fd_mask __int32_t unknown; do\n-+for type in __fd_mask __int32_t long\\ int unknown; do\n- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\n- /* end confdefs.h. */\n- \n-diff --git a/configure.d/config_project_types b/configure.d/config_project_types\n-index 1b4c66b95e..a78e8ebb06 100644\n---- a/configure.d/config_project_types\n-+++ b/configure.d/config_project_types\n-@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS\n- CFLAGS=\"$CFLAGS -Werror\"\n- \n- AC_MSG_CHECKING([for the type of fd_set::fds_bits])\n--for type in __fd_mask __int32_t unknown; do\n-+for type in __fd_mask __int32_t long\\ int unknown; do\n- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([\n- #include <sys/select.h>\n- #include <stddef.h>\ndiff --git a/package/netsnmp/0003-Android-Fix-the-build.patch b/package/netsnmp/0003-Android-Fix-the-build.patch\ndeleted file mode 100644\nindex 5cf37a0cb6..0000000000\n--- a/package/netsnmp/0003-Android-Fix-the-build.patch\n+++ /dev/null\n@@ -1,81 +0,0 @@\n-From b4598662a39ff6974119c900ea56a4d020eac366 Mon Sep 17 00:00:00 2001\n-From: Bart Van Assche <bvanassche@acm.org>\n-Date: Wed, 20 Dec 2023 13:08:06 -0800\n-Subject: [PATCH] Android: Fix the build\n-\n-Include <sys/select.h> for the fd_set type. In the configure script,\n-check whether 'unsigned long' is the underlying type of fd_set. Use\n-u_long instead of ulong.\n-\n-Upstream: https://github.com/net-snmp/net-snmp/commit/b4598662a39ff6974119c900ea56a4d020eac366\n-\n-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n----\n- agent/mibgroup/ip-mib/data_access/ipaddress_linux.c | 4 ++--\n- configure | 2 +-\n- configure.d/config_project_types | 2 +-\n- include/net-snmp/types.h | 3 +++\n- 4 files changed, 7 insertions(+), 4 deletions(-)\n-\n-diff --git a/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c b/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c\n-index b38beb57dd..232202d0f9 100644\n---- a/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c\n-+++ b/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c\n-@@ -50,7 +50,7 @@ int _load_v6(netsnmp_container *container, int idx_offset);\n- int\n- netsnmp_access_ipaddress_extra_prefix_info(int index,\n- u_long *preferedlt,\n-- ulong *validlt,\n-+ u_long *validlt,\n- char *addr);\n- #endif\n- \n-@@ -523,7 +523,7 @@ netsnmp_access_other_info_get(int index, int family)\n- \n- int\n- netsnmp_access_ipaddress_extra_prefix_info(int index, u_long *preferedlt,\n-- ulong *validlt, char *addr)\n-+ u_long *validlt, char *addr)\n- {\n- \n- struct {\n-diff --git a/configure b/configure\n-index e7bf859bba..48abcbab11 100755\n---- a/configure\n-+++ b/configure\n-@@ -31577,7 +31577,7 @@ CFLAGS=\"$CFLAGS -Werror\"\n- \n- { printf \"%s\\n\" \"$as_me:${as_lineno-$LINENO}: checking for the type of fd_set::fds_bits\" >&5\n- printf %s \"checking for the type of fd_set::fds_bits... \" >&6; }\n--for type in __fd_mask __int32_t long\\ int unknown; do\n-+for type in __fd_mask __int32_t long 'unsigned long' unknown; do\n- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\n- /* end confdefs.h. */\n- \n-diff --git a/configure.d/config_project_types b/configure.d/config_project_types\n-index a78e8ebb06..ac958d6712 100644\n---- a/configure.d/config_project_types\n-+++ b/configure.d/config_project_types\n-@@ -66,7 +66,7 @@ netsnmp_save_CFLAGS=$CFLAGS\n- CFLAGS=\"$CFLAGS -Werror\"\n- \n- AC_MSG_CHECKING([for the type of fd_set::fds_bits])\n--for type in __fd_mask __int32_t long\\ int unknown; do\n-+for type in __fd_mask __int32_t long 'unsigned long' unknown; do\n- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([\n- #include <sys/select.h>\n- #include <stddef.h>\n-diff --git a/include/net-snmp/types.h b/include/net-snmp/types.h\n-index b78f53ffd7..6228170e5f 100644\n---- a/include/net-snmp/types.h\n-+++ b/include/net-snmp/types.h\n-@@ -23,6 +23,9 @@\n- #endif\n- \n- #include <sys/types.h>\n-+#ifdef __ANDROID__\n-+#include <sys/select.h>\n-+#endif\n- \n- #if defined(WIN32) && !defined(cygwin)\n- typedef HANDLE netsnmp_pid_t;\ndiff --git a/package/netsnmp/0004-snmptrapd-Fix-out-of-bounds-trapOid-accesses.patch b/package/netsnmp/0004-snmptrapd-Fix-out-of-bounds-trapOid-accesses.patch\ndeleted file mode 100644\nindex a937b53644..0000000000\n--- a/package/netsnmp/0004-snmptrapd-Fix-out-of-bounds-trapOid-accesses.patch\n+++ /dev/null\n@@ -1,32 +0,0 @@\n-From b4e6f826d9ddcc2d72eac432746807e1234266db Mon Sep 17 00:00:00 2001\n-From: Bart Van Assche <bvanassche@acm.org>\n-Date: Sun, 2 Nov 2025 14:48:55 -0800\n-Subject: [PATCH] snmptrapd: Fix out-of-bounds trapOid[] accesses\n-\n-Fixes: https://issues.oss-fuzz.com/issues/457106694\n-Fixes: https://issues.oss-fuzz.com/issues/458668421\n-Fixes: https://issues.oss-fuzz.com/issues/458876071\n-CVE: CVE-2025-68615\n-Upstream: https://github.com/net-snmp/net-snmp/commit/b4e6f826d9ddcc2d72eac432746807e1234266db\n-Signed-off-by: Thomas Perale <thomas.perale@mind.be>\n----\n- apps/snmptrapd_handlers.c | 6 ++++++\n- 1 file changed, 6 insertions(+)\n-\n-diff --git a/apps/snmptrapd_handlers.c b/apps/snmptrapd_handlers.c\n-index 6cd126f266..afd93ed0fb 100644\n---- a/apps/snmptrapd_handlers.c\n-+++ b/apps/snmptrapd_handlers.c\n-@@ -1112,6 +1112,12 @@ snmp_input(int op, netsnmp_session *session,\n- \t */\n- if (pdu->trap_type == SNMP_TRAP_ENTERPRISESPECIFIC) {\n- trapOidLen = pdu->enterprise_length;\n-+ /*\n-+ * Drop packets that would trigger an out-of-bounds trapOid[]\n-+ * access.\n-+ */\n-+ if (trapOidLen < 1 || trapOidLen > OID_LENGTH(trapOid) - 2)\n-+ return 1;\n- memcpy(trapOid, pdu->enterprise, sizeof(oid) * trapOidLen);\n- if (trapOid[trapOidLen - 1] != 0) {\n- trapOid[trapOidLen++] = 0;\ndiff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash\nindex 7898941271..f86be3d60f 100644\n--- a/package/netsnmp/netsnmp.hash\n+++ b/package/netsnmp/netsnmp.hash\n@@ -1,7 +1,9 @@\n+# From https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.5.2/\n+sha1 051e2e919604f6fac96c1e7df7bd2ec0d288375f net-snmp-5.9.5.2.tar.gz\n # Locally calculated after checking pgp signature at\n-# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4/net-snmp-5.9.4.tar.gz.asc\n+# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.5.2/net-snmp-5.9.5.2.tar.gz.asc/download\n # using key 6E6718AEF1EB5C65C32D1B2A356BC0B552D53CAB\n-sha256 8b4de01391e74e3c7014beb43961a2d6d6fa03acc34280b9585f4930745b0544 net-snmp-5.9.4.tar.gz\n+sha256 16707719f833184a4b72835dac359ae188123b06b5e42817c00790d7dc1384bf net-snmp-5.9.5.2.tar.gz\n \n # Hash for license file\n sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING\ndiff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk\nindex 1c7e406a4e..4d3367e12c 100644\n--- a/package/netsnmp/netsnmp.mk\n+++ b/package/netsnmp/netsnmp.mk\n@@ -4,15 +4,13 @@\n #\n ################################################################################\n \n-NETSNMP_VERSION = 5.9.4\n+NETSNMP_VERSION = 5.9.5.2\n NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION)\n NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz\n NETSNMP_LICENSE = Various BSD-like\n NETSNMP_LICENSE_FILES = COPYING\n NETSNMP_CPE_ID_VENDOR = net-snmp\n NETSNMP_CPE_ID_PRODUCT = $(NETSNMP_CPE_ID_VENDOR)\n-# 0004-snmptrapd-Fix-out-of-bounds-trapOid-accesses.patch\n-NETSNMP_IGNORE_CVES += CVE-2025-68615\n NETSNMP_SELINUX_MODULES = snmp\n NETSNMP_INSTALL_STAGING = YES\n NETSNMP_CONF_ENV = \\\n@@ -42,8 +40,6 @@ NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true inst\n NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install\n NETSNMP_MAKE = $(MAKE1)\n NETSNMP_CONFIG_SCRIPTS = net-snmp-config\n-# We're patching configure.d/config_project_types\n-NETSNMP_AUTORECONF = YES\n \n define NETSNMP_USERS\n \tsnmp -1 snmp -1 * - - - snmpd user\n", "prefixes": [ "1/1" ] }