diff options
author | Raimo Niskanen <[email protected]> | 2016-08-08 12:01:23 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-08-08 12:01:23 +0200 |
commit | e23bc1c5705c07735cb87183f6e7409b40613d74 (patch) | |
tree | f5c50ffdca8b380763584444e2e36568cb0f1312 /lib | |
parent | e43e82802735f2fd0d6d67308e7602c37ac70898 (diff) | |
parent | 4763141dcb61464fdc3ac11273d0a21874670bb5 (diff) | |
download | otp-e23bc1c5705c07735cb87183f6e7409b40613d74.tar.gz otp-e23bc1c5705c07735cb87183f6e7409b40613d74.tar.bz2 otp-e23bc1c5705c07735cb87183f6e7409b40613d74.zip |
Merge branch 'duncaen/crypto/fix-algo_cipher-array-size/PR-1140/OTP-13789' into maint
* duncaen/crypto/fix-algo_cipher-array-size/PR-1140/OTP-13789:
Fix segfault in crypto by increasing algo_cipher array
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/c_src/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c index 7183c395ae..d0044fe723 100644 --- a/lib/crypto/c_src/crypto.c +++ b/lib/crypto/c_src/crypto.c @@ -749,7 +749,7 @@ static ERL_NIF_TERM algo_hash[8]; /* increase when extending the list */ static int algo_pubkey_cnt; static ERL_NIF_TERM algo_pubkey[7]; /* increase when extending the list */ static int algo_cipher_cnt; -static ERL_NIF_TERM algo_cipher[20]; /* increase when extending the list */ +static ERL_NIF_TERM algo_cipher[21]; /* increase when extending the list */ static void init_algorithms_types(ErlNifEnv* env) { |