summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWilliam Casarin <jb55@jb55.com>2020-10-15 08:48:07 -0700
committerDrew DeVault <sir@cmpwn.com>2020-10-15 12:06:19 -0400
commite77f354ca39576be2ae14d373e20dadb1d53f646 (patch)
treec7a1be126f3c6583ac224c6c6379afec10f51276 /doc
parent9d17ce46b03b1ba9f8bb3c6da93447139c90571a (diff)
downloadgmnisrv-e77f354ca39576be2ae14d373e20dadb1d53f646.tar.gz
gmnisrv-e77f354ca39576be2ae14d373e20dadb1d53f646.tar.xz
gmnisrv-e77f354ca39576be2ae14d373e20dadb1d53f646.zip
serve: fix gcc-9.3.0 error in serve_autoindex
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>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions