diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-05-17 15:30:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 15:30:45 (GMT) |
commit | c6edc887bc3c08a7099ca7494e19891b429b3290 (patch) | |
tree | 496fb08e87ea59f3bd3f4919a250ef91252d63a8 /src | |
parent | 940bdafacb32147b5b20d6d8994c89b696592f6f (diff) | |
download | hdf5-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.c | 4 |
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 |