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-12-18 11:42:25 +01:00
2024-12-02 14:43:09 +01:00
2024-05-31 11:30:06 +02:00
2024-05-31 11:30:06 +02:00
2024-11-27 22:20:54 +01:00