Xiang Xiao
997379d14e
netutils/webserver: Fix the compiler error when -no-builtin is removed
Error: httpd.c:671:7: error: 'strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Werror=stringop-truncation]
671 | strncpy(pstate->ht_filename, "/" CONFIG_NETUTILS_HTTPD_INDEX,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
672 | strlen("/" CONFIG_NETUTILS_HTTPD_INDEX));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-03 12:49:35 +02:00
..
2021-03-30 22:27:49 -05:00
2021-06-16 09:03:06 -05:00
2021-06-01 06:36:44 +09:00
2021-06-16 09:03:06 -05:00
2021-06-11 08:53:57 -05:00
2021-06-11 08:53:57 -05:00
2022-03-03 12:49:35 +02:00
2021-06-16 09:03:06 -05:00
2019-07-04 21:21:26 -06:00
2021-06-07 21:35:33 -05:00
2021-06-07 21:35:33 -05:00