mirror of
https://git.sr.ht/~sircmpwn/gmnisrv
synced 2024-12-04 14:46:42 -05:00
e77f354ca3
gcc 9.3.0 catches an off-by-one error with strncat in serve_autoindex where it might not write a 0 byte: In function ‘strncat’, inlined from ‘serve_autoindex’ at src/serve.c:60:3: /nix/store/...glibc-2.31-dev/include/bits/string_fortified.h:136:10: error: ‘__builtin___strncat_chk’ specified bound 4097 equals destination size [-Werror=stringop-overflow=] Signed-off-by: William Casarin <jb55@jb55.com> |
||
---|---|---|
.. | ||
config.c | ||
escape.c | ||
ini.c | ||
log.c | ||
main.c | ||
mime.c | ||
serve.c | ||
server.c | ||
tls.c | ||
url.c | ||
util.c |