lwip/src
Dirk Ziegelmeier 30b2d07362 Fix compile error with GCC 8 in makefsdata
lwip/lwip/src/apps/http/makefsdata/makefsdata.c:929:56: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
   snprintf(qualifiedName, sizeof(qualifiedName), "%s/%s", curSubdir, filename);

/home/dziegel/lwip/lwip/src/apps/http/makefsdata/makefsdata.c:929:3: note: ‘snprintf’ output 2 or more bytes (assuming 257) into a destination of size 256
   snprintf(qualifiedName, sizeof(qualifiedName), "%s/%s", curSubdir, filename);

Reduce subdir string length by 3 bytes to make the warning go away. The whole file path including directory AND filename is limited to MAX_PATH_LEN - so it is reasonable to reserve 3 bytes less for directory - the filename won't fit anyway in the remaining 3 bytes.
2018-11-20 20:34:29 +01:00
..
api sockets: Trivial comment fixes 2018-11-09 17:14:20 +08:00
apps Fix compile error with GCC 8 in makefsdata 2018-11-20 20:34:29 +01:00
core tcp_recved: fix overflow check 2018-11-12 21:01:47 +01:00
include mDNS: probe rate limiting if more then 15 conflicts occur in 10s 2018-11-19 14:26:25 +01:00
netif fix compiling ETHARP_SUPPORT_VLAN without LWIP_HOOK_VLAN_SET and LWIP_VLAN_PCP 2018-11-07 10:49:06 +01:00
Filelists.cmake mDNS: add new files to filelists + solve compile errors 2018-11-13 12:17:38 +01:00
Filelists.mk mDNS: add new files to filelists + solve compile errors 2018-11-13 12:17:38 +01:00
FILES update some FILES list files 2016-08-03 20:21:54 +02:00