erlang: update to 19.0.

This commit is contained in:
Duncaen 2016-08-03 16:58:58 +02:00
parent a10b2d9471
commit fa89d12c2a
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,19 @@
commit 4763141dcb61464fdc3ac11273d0a21874670bb5
Author: Duncaen <mail@duncano.de>
Date: Wed Aug 3 16:56:29 2016 +0200
Fix segfault in crypto by increasing algo_cipher array
diff --git lib/crypto/c_src/crypto.c lib/crypto/c_src/crypto.c
index 7183c39..d0044fe 100644
--- lib/crypto/c_src/crypto.c
+++ 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)
{

View file

@ -1,7 +1,7 @@
# Template file for 'erlang'
pkgname=erlang
version=19.0
revision=1
revision=2
wrksrc=otp_src_${version}
build_style=gnu-configure
configure_args="--enable-smp-support"