summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-05-17 15:30:45 (GMT)
committerGitHub <noreply@github.com>2023-05-17 15:30:45 (GMT)
commitc6edc887bc3c08a7099ca7494e19891b429b3290 (patch)
tree496fb08e87ea59f3bd3f4919a250ef91252d63a8 /src
parent940bdafacb32147b5b20d6d8994c89b696592f6f (diff)
downloadhdf5-c6edc887bc3c08a7099ca7494e19891b429b3290.zip
hdf5-c6edc887bc3c08a7099ca7494e19891b429b3290.tar.gz
hdf5-c6edc887bc3c08a7099ca7494e19891b429b3290.tar.bz2
Change UBSAN for undefined instaed of address (#2964)
Diffstat (limited to 'src')
-rw-r--r--src/H5detect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index daf7708..0f3be9c 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -48,8 +48,8 @@ static const char *FileHeader = "\n\
#include "H5Rpublic.h"
#if defined(__has_attribute)
-#if __has_attribute(no_sanitize_address)
-#define HDF_NO_UBSAN __attribute__((no_sanitize_address))
+#if __has_attribute(no_sanitize)
+#define HDF_NO_UBSAN __attribute__((no_sanitize("undefined")))
#else
#define HDF_NO_UBSAN
#endif