You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --platform linux/amd64 --rm -e Tmp=. -e WINEDEBUG=-all -v /home/runner/work/mongoose/mongoose/test/..:/home/runner/work/mongoose/mongoose/test/.. -w /home/runner/work/mongoose/mongoose/test mdashnet/s390 cc mongoose.c unit_test.c packed_fs.c -O3 -g3 -Wmissing-prototypes -Wstrict-prototypes -pedantic -W -Wall -Werror -Wshadow -Wdouble-promotion -fno-common -Wconversion -Wundef -Isrc -I. -DMG_MAX_HTTP_HEADERS=7 -DMG_ENABLE_LINES -DMG_ENABLE_PACKED_FS=1 -DMG_ENABLE_SSI=1 -DMG_ENABLE_ASSERT=1 -DMG_ENABLE_IPV6=0 -pthread -DMG_TLS=MG_TLS_BUILTIN -o unit_test
src/tls_chacha20.c: In function 'poly1305_update':
src/tls_chacha20.c:1237:62: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
src/tls_chacha20.c:995:17: note: at offset 16 into destination object 'buffer' of size 16
src/tls_chacha20.c:1237:62: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
src/tls_chacha20.c:995:17: note: at offset 17 into destination object 'buffer' of size 16
src/tls_chacha20.c:1237:62: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
src/tls_chacha20.c:995:17: note: at offset 18 into destination object 'buffer' of size 16
src/tls_chacha20.c:1237:62: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
src/tls_chacha20.c:995:17: note: at offset 19 into destination object 'buffer' of size 16
src/tls_chacha20.c:1237:62: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
src/tls_chacha20.c:995:17: note: at offset 20 into destination object 'buffer' of size 16
src/tls_chacha20.c:1237:62: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
src/tls_chacha20.c:995:17: note: at offset 21 into destination object 'buffer' of size 16
src/tls_chacha20.c:1237:62: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
src/tls_chacha20.c:995:17: note: at offset 22 into destination object 'buffer' of size 16
cc1: all warnings being treated as errors
In spite of this compiler warning, building without -Werror does not end on a crash or failure (though that doesn't prove anything as there is no sanitizer in place to catch it)
The text was updated successfully, but these errors were encountered:
In spite of this compiler warning, building without
-Werror
does not end on a crash or failure (though that doesn't prove anything as there is no sanitizer in place to catch it)The text was updated successfully, but these errors were encountered: