mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
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>