diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-28 21:58:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-28 21:58:36 +0000 |
commit | 6fb5140dd6fa398d6f09804e3c035254958763c0 (patch) | |
tree | 57b221b6db780b65b18c817418671941141f72dc /ChangeLog | |
parent | 312a5a8cb47d903f43129bd226a11c96c7e21011 (diff) |
ossl_bn.c: reduce alloca/malloc
* ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for
small fixed size array.
* ext/openssl/ossl_bn.c (ossl_bn_initialize): check overflow first,
and use alloca for small size input.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Mon Apr 29 06:58:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for + small fixed size array. + + * ext/openssl/ossl_bn.c (ossl_bn_initialize): check overflow first, + and use alloca for small size input. + Mon Apr 29 00:40:13 2013 Benoit Daloze <eregontp@gmail.com> * lib/yaml.rb: Clarify documentation about YAML being always Psych. |