aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/async/async.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/async/async.c')
-rw-r--r--crypto/async/async.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/async/async.c b/crypto/async/async.c
index 8fdff52d99..d08ac132b7 100644
--- a/crypto/async/async.c
+++ b/crypto/async/async.c
@@ -51,6 +51,14 @@
* ====================================================================
*/
+/*
+ * Without this we start getting longjmp crashes because it thinks we're jumping
+ * up the stack when in fact we are jumping to an entirely different stack. The
+ * cost of this is not having certain buffer overrun/underrun checks etc for
+ * this source file :-(
+ */
+#undef _FORTIFY_SOURCE
+
#include <openssl/err.h>
#include <openssl/async.h>
#include <string.h>