mod_http_cache gcc8+ strncpy truncated
* OS - Debian 10 Buster
* FS - 1.10.1
* GCC - gcc version 8.3.0 (Debian 8.3.0-6)
* file - ./src/mod/applications/mod_http_cache/mod_http_cache.c
#1 :988
mod_http_cache.c:988:2: error: ‘strncpy’ output may be truncated copying 2 bytes from a string of length 256 [-Werror=stringop-truncation]
strncpy(uuid_dir, uuid_str, 2);
↧