mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 12:36:01 -07:00
SIGSEGV handlers are incompatible with -fsanitize=address
This commit is contained in:
parent
f6de559ee1
commit
5fd91b8f0f
@ -7,6 +7,10 @@
|
||||
#define TEST_NAME "sodium_utils2"
|
||||
#include "cmptest.h"
|
||||
|
||||
#ifdef __SANITIZE_ADDRESS__
|
||||
# error This test requires address sanitizer to be off
|
||||
#endif
|
||||
|
||||
static void segv_handler(int sig)
|
||||
{
|
||||
printf("Intentional segfault / bus error caught\n");
|
||||
|
@ -7,6 +7,10 @@
|
||||
#define TEST_NAME "sodium_utils3"
|
||||
#include "cmptest.h"
|
||||
|
||||
#ifdef __SANITIZE_ADDRESS__
|
||||
# error This test requires address sanitizer to be off
|
||||
#endif
|
||||
|
||||
static void segv_handler(int sig)
|
||||
{
|
||||
printf("Intentional segfault / bus error caught\n");
|
||||
|
Loading…
Reference in New Issue
Block a user