From c6edc887bc3c08a7099ca7494e19891b429b3290 Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Wed, 17 May 2023 10:30:45 -0500 Subject: Change UBSAN for undefined instaed of address (#2964) --- src/H5detect.c | 4 ++-- 1 file 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 -- cgit v0.12