Qiyuan Zhang d6459091fd mtd: check the return value of malloc and pread
Check the return value of malloc and pread in case they fail.

Signed-off-by: Qiyuan Zhang <zhang.github@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/16070
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-12-31 17:44:10 +01:00
..
2024-11-12 17:55:16 +01:00
2024-12-28 15:41:43 +01:00
2024-12-31 13:17:34 +01:00
2024-12-28 22:48:06 +01:00