diff --git a/net/mdio-tools/Makefile b/net/mdio-tools/Makefile index 5f6720ade0..07d8c85489 100644 --- a/net/mdio-tools/Makefile +++ b/net/mdio-tools/Makefile @@ -1,13 +1,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mdio-tools -PKG_VERSION:=1.3.1 -PKG_RELEASE:=3 +PKG_VERSION:=1.3.2 +PKG_RELEASE:=1 PKG_SOURCE_URL:=https://github.com/wkz/mdio-tools PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=f74eaf38dbda441df4fcaeb21ca4465957953a2f -PKG_MIRROR_HASH:=faa3ad7dd254361c6a9f044aa134982cbeec0423149726e82363833b9f0e0f11 +PKG_SOURCE_VERSION:=a1fca6b8fb3b5a95ebb28324a95673488dddc005 +PKG_MIRROR_HASH:=da219b19a42db0e8f559c33a1dcd3e31a854ed907518b3ffa8f89a09152a9da6 PKG_FIXUP:=autoreconf diff --git a/net/mdio-tools/patches/0001-mdio-fix-segmentation-fault-in-dump-operation.patch b/net/mdio-tools/patches/0001-mdio-fix-segmentation-fault-in-dump-operation.patch deleted file mode 100644 index e810c42362..0000000000 --- a/net/mdio-tools/patches/0001-mdio-fix-segmentation-fault-in-dump-operation.patch +++ /dev/null @@ -1,34 +0,0 @@ -From d7e314e45c112198d15220333b869604478a2e49 Mon Sep 17 00:00:00 2001 -From: Aleksander Jan Bajkowski -Date: Sun, 28 Sep 2025 23:31:00 +0200 -Subject: [PATCH] mdio: fix segmentation fault in dump operation - -Return an ENOMEM error when the buffer is too small to -perform the operation. - -Before: -$ mdio mt7530-0 0x05:31 dump 0x0+512 -Segmentation fault - -After: -$ mdio mt7530-0 0x05:31 dump 0x0+512 -ERROR: Dump operation failed (-12) - -Fixes: 882488711ca0 ("mdio: Add common dump operation to read ranges of registers") -Signed-off-by: Aleksander Jan Bajkowski ---- - src/mdio/mdio.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/src/mdio/mdio.c -+++ b/src/mdio/mdio.c -@@ -613,6 +613,9 @@ int mdio_xfer_timeout(const char *bus, s - struct nlmsghdr *nlh; - int err; - -+ if (prog->len * sizeof(*prog->insns) > len) -+ return -ENOMEM; -+ - nlh = msg_init(MDIO_GENL_XFER, NLM_F_REQUEST | NLM_F_ACK); - if (!nlh) - return -ENOMEM;