mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-01 15:35:46 +03:00
Stop valgrind errors when using OpenSSL 1.1.1c
Issue introduced by OpenSSL 1.1.1c causes valgrind errors to be reported. See https://www.mail-archive.com/openssl-commits@openssl.org/msg21701.html and https://github.com/openssl/openssl/pull/8606 which did not make 1.1.1c scripts/build.sh: tests/valgrind_suppression: Temporarily suppress valgrind errors when SSL_CTS_new() is called when running the tests. Note: This suppression will also need to be applied when running valgrind against other CoAP executables using OpenSSL 1.1.1c to prevent the valgrind errors getting reported. src/coap_openssl.c: memset cookie_secret to 0 to stop valgrind warning.
This commit is contained in:
1 parent
d7eab5f22d
commit
ff8f8d2c6b
3 files changed
+14
-1
No files matched your search
+1
-1
@@ -50,7 +50,7 @@ err=$?
|
||||
if test $err = 0 -a -n "$WITH_TESTS" ; then
|
||||
EXEC_FILE=tests/testdriver
|
||||
# then run valgrind on the actual executable
|
||||
LD_LIBRARY_PATH=$TEST_LD_LIBRARY_PATH libtool --mode=execute valgrind --track-origins=yes --leak-check=yes --show-reachable=yes --error-exitcode=123 --quiet $EXEC_FILE
|
||||
LD_LIBRARY_PATH=$TEST_LD_LIBRARY_PATH libtool --mode=execute valgrind --track-origins=yes --leak-check=yes --show-reachable=yes --error-exitcode=123 --quiet --suppressions=tests/valgrind_suppression $EXEC_FILE
|
||||
err=$?
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user