1
0
Fork 0
forked from mirror/openwrt
openwrt/package/system/mtd/src
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
..
crc32.c
crc32.h
fis.c mtd: cleanup unused code and variables in fis.c 2019-07-17 23:06:02 +02:00
fis.h mtd: add CRC signature to RedBoot partition map 2019-07-17 22:59:29 +02:00
imagetag.c
jffs2.c
jffs2.h
linksys_bootcount.c mtd: check the return value of malloc and pread 2024-12-31 17:44:10 +01:00
Makefile mediatek: Add support for Linksys EA7500 v3 2024-08-15 00:13:20 +02:00
md5.c
md5.h
mtd.c mtd: add option for TRX magic to fixtrx 2021-03-15 16:57:34 +01:00
mtd.h mtd: fix imagetag compilation 2021-03-17 08:42:05 +01:00
seama.c
seama.h
tpl_ramips_recoveryflag.c
trx.c mtd: fix build with GCC 14 2024-05-12 12:49:39 +01:00
wrg.c
wrgg.c
wrgg.h