incubator-nuttx/binfmt
xiangdong6 4cd4303c32 binfmt: Check return pointer.
Function builtin_for_index may return NULL.
We must check this to prevent visit invalid address.

Signed-off-by: xiangdong6 <xiangdong6@xiaomi.com>
2022-09-03 19:39:51 +08:00
..
libelf arch/addrenv: Change text write enable/disable to generic mprot 2022-05-12 22:28:31 +08:00
libnxflat Use builtins for byteswapping 2022-06-29 11:32:59 +08:00
Kconfig Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 19:45:24 +02:00
Makefile binfmt/elf: add bare metal coredump support 2021-11-23 20:48:00 -06:00
binfmt.h env_dup: Fix copying of env between address environments 2022-04-21 18:38:37 +08:00
binfmt_copyargv.c binfmt: Move argv copy into exec_module 2021-06-02 15:20:38 +09:00
binfmt_coredump.c binfmt/elf: add bare metal coredump support 2021-11-23 20:48:00 -06:00
binfmt_dumpmodule.c binfmt: Remove filename/exports/nexports from binary_s 2021-06-02 15:20:38 +09:00
binfmt_exec.c sched/task: Implement execle and execve 2022-04-22 10:40:31 +03:00
binfmt_execmodule.c binfmt_execmodule: Use heap size getter for print 2022-05-02 17:06:08 +08:00
binfmt_execsymtab.c
binfmt_exit.c
binfmt_globals.c
binfmt_initialize.c binfmt: Decouple builtin from binfs file system 2022-02-14 09:35:35 -03:00
binfmt_loadmodule.c Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 19:45:24 +02:00
binfmt_register.c
binfmt_unloadmodule.c binfmt: Fix memory leak in ELF loader 2022-07-23 14:34:27 +08:00
binfmt_unregister.c
builtin.c binfmt: Check return pointer. 2022-09-03 19:39:51 +08:00
elf.c binfmt: Fix memory leak in ELF loader 2022-07-23 14:34:27 +08:00
nxflat.c binfmt/elf: add bare metal coredump support 2021-11-23 20:48:00 -06:00