0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2025-02-06 16:09:42 +00:00
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
..