[gnutls-devel] GnuTLS | clang ASAN fails on testcompat-tls13-openssl.sh (#920)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Jan 28 10:59:13 CET 2020



Tim Rühsen created an issue: https://gitlab.com/gnutls/gnutls/issues/920



`testcompat-tls13-openssl.sh` fails even with the most basic clang/llvm address sanitize options. Tested with clang-8, clang-9 and clang-10. The sanitizer itself doesn't trigger (or at least there is no output). So there must be some subtleties going on - not sure why OSS-Fuzz with it's many projects doesn't stumble upon it somewhere.

```
CFLAGS="-fsanitize=address" CC=clang ./configure --disable-guile --disable-doc --disable-hardware-acceleration
make clean
make -j$(nproc)
make check -j$(nproc) -C tests TESTS="setcredcrash"
make check -j$(nproc) -C tests/suite TESTS=testcompat-tls13-openssl.sh
```

The setcredcrash line just builds everything in `tests/`, else `testcompat-tls13-openssl.sh` will SKIP. Like a dependency issue in `tests/suite/Makefile.am`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/920
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200128/6c824a31/attachment.html>


More information about the Gnutls-devel mailing list