Skip to content

Commit

Permalink
disable the test that doesn't work in MSAN
Browse files Browse the repository at this point in the history
here MSAN complains that

==218853==WARNING: MemorySanitizer: use-of-uninitialized-value
   #0 0x7f84a77c60a3 in _gnutls_rnd_init /tmp/msan/lib/random.c:69:6
   #1 0x7f84a77c60a3 in gnutls_rnd /tmp/msan/lib/random.c:168:6

but the line lib/random.c:69 in gnutls-3.7.1 is

 69  	if (unlikely(!rnd_initialized)) {

and rnd_initialized is declared as

 40 static _Thread_local unsigned rnd_initialized = 0;

which apparently MSAN isn't happy with
  • Loading branch information
vuvova committed Aug 10, 2024
1 parent 7e3dfe3 commit 18cf72d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql-test/suite/plugins/t/rpl_auth.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# MSAN doesn't like gnutls_rnd
source include/not_msan.inc;

if ($MTR_COMBINATION_ED25519) {
if (!$AUTH_ED25519_SO) {
skip No auth_ed25519 plugin;
Expand Down

0 comments on commit 18cf72d

Please sign in to comment.