nuttx-apps/examples/romfs
Nightt c44f9a0556 apps: Fix unchecked strdup()/asprintf() as requested in #1727
Add missing failure handling for direct strdup() and asprintf() calls where the allocated result is consumed locally before any NULL/error check.

This keeps the scope to the functions named in #1727 and avoids changing pass-through return sites where callers already receive NULL on allocation failure.

Signed-off-by: Nightt <87569709+nightt5879@users.noreply.github.com>
2026-05-23 16:30:52 -04:00
..
.gitignore
CMakeLists.txt examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Kconfig examples/romfs:add EXAMPLES_ROMFS_RAMDEVNO 2025-03-05 10:02:22 +01:00
Make.defs examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
romfs_main.c apps: Fix unchecked strdup()/asprintf() as requested in #1727 2026-05-23 16:30:52 -04:00
testdir.tar.gz
testdir.txt