From de22f38da2204965a2490ed1e92063fcdcdcfa1f Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 27 Mar 2016 00:21:04 +0100 Subject: [PATCH] Mark the _out_of_bounds() function as noreturn --- src/libsodium/sodium/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/sodium/utils.c b/src/libsodium/sodium/utils.c index 9358e056..e35262ff 100644 --- a/src/libsodium/sodium/utils.c +++ b/src/libsodium/sodium/utils.c @@ -449,7 +449,7 @@ _mprotect_readwrite(void *ptr, size_t size) #ifdef HAVE_ALIGNED_MALLOC -static void +__attribute__ ((noreturn)) static void _out_of_bounds(void) { # ifdef SIGSEGV