nuttx-apps/netutils/webserver
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
..
CMakeLists.txt netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
httpd.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
httpd.h style: Fix coding style violations in nuttx-apps 2026-01-12 00:54:48 +08:00
httpd_cgi.c netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
httpd_cgi.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
httpd_dirlist.c apps: Fix unchecked strdup()/asprintf() as requested in #1727 2026-05-23 16:30:52 -04:00
httpd_fs.c netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
httpd_mmap.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
httpd_sendfile.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
Kconfig Change all sizeof(arr)/sizeof(arr[0]) to nitems 2023-08-17 22:51:51 +03:00
Make.defs netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
Makefile netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00