18bb3331f3
httpd_dirlist.c: In function 'httpd_dirlist': Error: httpd_dirlist.c:199:40: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Werror=format-truncation=] 199 | snprintf(path, CONFIG_NAME_MAX, "%s/%s", | ^~ httpd_dirlist.c:199:7: note: 'snprintf' output between 2 and 385 bytes into a destination of size 128 199 | snprintf(path, CONFIG_NAME_MAX, "%s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | file->path, dent->d_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> |
||
---|---|---|
.. | ||
httpd_cgi.c | ||
httpd_cgi.h | ||
httpd_dirlist.c | ||
httpd_fs.c | ||
httpd_mmap.c | ||
httpd_sendfile.c | ||
httpd.c | ||
httpd.h | ||
Kconfig | ||
Make.defs | ||
Makefile |