aboutsummaryrefslogtreecommitdiff
path: root/crypto/engine/eng_table.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-07-08 23:06:59 +0200
committerAndy Polyakov <appro@openssl.org>2014-07-08 23:06:59 +0200
commitd11c70b2c2a655d112fa72d34c6702e9aa2eff79 (patch)
tree8d0d88953c6a95180d177e4246ed77b6d4967758 /crypto/engine/eng_table.c
parent021e5043e524b1cb28a929ef902548a987c16e65 (diff)
downloadopenssl-d11c70b2c2a655d112fa72d34c6702e9aa2eff79.zip
openssl-d11c70b2c2a655d112fa72d34c6702e9aa2eff79.tar.gz
openssl-d11c70b2c2a655d112fa72d34c6702e9aa2eff79.tar.bz2
Please Clang's sanitizer, addendum.
Diffstat (limited to 'crypto/engine/eng_table.c')
-rw-r--r--crypto/engine/eng_table.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/engine/eng_table.c b/crypto/engine/eng_table.c
index 93dc90e..74e1adf 100644
--- a/crypto/engine/eng_table.c
+++ b/crypto/engine/eng_table.c
@@ -346,6 +346,8 @@ void engine_table_doall(ENGINE_TABLE *table, engine_table_doall_cb *cb,
ENGINE_PILE_DOALL dall;
dall.cb = cb;
dall.arg = arg;
- lh_ENGINE_PILE_doall_arg(&table->piles, LHASH_DOALL_ARG_FN(int_cb),
- ENGINE_PILE_DOALL, &dall);
+ if (table)
+ lh_ENGINE_PILE_doall_arg(&table->piles,
+ LHASH_DOALL_ARG_FN(int_cb),
+ ENGINE_PILE_DOALL, &dall);
}