1
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:
Frank Denis 2014-10-16 14:08:43 -07:00
parent f6de559ee1
commit 5fd91b8f0f
2 changed files with 8 additions and 0 deletions

View File

@ -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");

View File

@ -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");