Files
openwrt-packages/net/mdio-tools
Aleksander Jan Bajkowski 63656f59ec mdio-tools: backport segfault fix
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)

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2025-11-13 08:44:08 +01:00
..
2025-11-13 08:44:08 +01:00
2025-11-13 08:44:08 +01:00