summaryrefslogtreecommitdiff
path: root/external/openssl/ubsan.patch.0
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-06 15:21:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-06 15:21:42 +0100
commit86b436d797081f63036a0db91802bc74aa0501aa (patch)
tree8460d745a79ee0597cde583262faf72c661ab8be /external/openssl/ubsan.patch.0
parent8672eca430213c28936a526df6266226ecb7ab2d (diff)
external/openssl: Work around -fsanitize=null
Change-Id: Ic47a1b43323f84971aed9b3cdb2ec83f9e931d6a
Diffstat (limited to 'external/openssl/ubsan.patch.0')
-rw-r--r--external/openssl/ubsan.patch.010
1 files changed, 10 insertions, 0 deletions
diff --git a/external/openssl/ubsan.patch.0 b/external/openssl/ubsan.patch.0
new file mode 100644
index 000000000000..c3fffb3581ba
--- /dev/null
+++ b/external/openssl/ubsan.patch.0
@@ -0,0 +1,10 @@
+--- crypto/engine/eng_table.c
++++ crypto/engine/eng_table.c
+@@ -346,6 +346,6 @@
+ ENGINE_PILE_DOALL dall;
+ dall.cb = cb;
+ dall.arg = arg;
+- lh_ENGINE_PILE_doall_arg(&table->piles, LHASH_DOALL_ARG_FN(int_cb),
++ lh_ENGINE_PILE_doall_arg(table ? &table->piles : NULL, LHASH_DOALL_ARG_FN(int_cb),
+ ENGINE_PILE_DOALL, &dall);
+ }