[libmicrohttpd] Gitlab CI still fails

2018-02-27 Thread Tim Rühsen
Hi, two tests still fail because of memory leaks. It's reproducible with CC=gcc CFLAGS="-O0 -g -ggdb3 -fno-omit-frame-pointer -fsanitize=address" ./configure make clean make check ... FAIL: test_upgrade FAIL: test_upgrade_tls ... cat src/microhttpd/test_upgrade.log With Best Regards, Tim

[libmicrohttpd] Another CI failure ...

2018-02-27 Thread Tim Rühsen
Two more usages of strcpy() annoy the clang static analyzer: $ make clean $ scan-build-3.9 -v -enable-checker security,nullability --status-bugs make -j$(nproc) With Best Regards, Tim signature.asc Description: OpenPGP digital signature

[libmicrohttpd] Three runtime errors in tests with UBSAN

2018-02-27 Thread Tim Rühsen
$ 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_Dae

Re: [libmicrohttpd] Gitlab CI still fails

2018-02-27 Thread Christian Grothoff
These should be fixed (largely warnings about memory leaks in testcases, one relating to an actual issue with MHD not calling connection completed handler for upgraded connections). Happy hacking! Christian On 02/27/2018 10:18 AM, Tim Rühsen wrote: > Hi, > > two tests still fail because of memo

Re: [libmicrohttpd] Another CI failure ...

2018-02-27 Thread Christian Grothoff
Fixed in Git f4154e6b..4507f419. -Christian On 02/27/2018 10:30 AM, Tim Rühsen wrote: > Two more usages of strcpy() annoy the clang static analyzer: > > $ make clean > > $ scan-build-3.9 -v -enable-checker security,nullability --status-bugs > make -j$(nproc) > > > With Best Regards, Tim > >