[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] Three runtime errors in tests with UBSAN
From: |
Tim Rühsen |
Subject: |
[libmicrohttpd] Three runtime errors in tests with UBSAN |
Date: |
Tue, 27 Feb 2018 10:39:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
$ CC=gcc CFLAGS="-O0 -g -ggdb3 -fno-omit-frame-pointer
-fsanitize=undefined" ./configure
$ make clean
$ make check
$ grep runtime src/*/*.log
src/microhttpd/test_upgrade.log:test_upgrade.c:1075:32: runtime error:
member access within misaligned address 0x560144586014 for type 'const
union MHD_DaemonInfo', which requires 8 byte alignment
src/microhttpd/test_upgrade_tls.log:test_upgrade.c:1075:32: runtime
error: member access within misaligned address 0x55cea9a95014 for type
'const union MHD_DaemonInfo', which requires 8 byte alignment
src/testcurl/test_put_chunked.log:test_put_chunked.c:107:16: runtime
error: null pointer passed as argument 1, which is declared to never be null
With Best Regards, Tim
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] Three runtime errors in tests with UBSAN,
Tim Rühsen <=