From: Hiroshi Nakamura Date: 2011-08-23T10:29:18+09:00 Subject: [ruby-core:39051] [Ruby 1.9 - Bug #2768][Closed] SEGV when using OpenSSL::Cipher (AES) in certain way Issue #2768 has been updated by Hiroshi Nakamura. Status changed from Assigned to Closed Thanks for heads-up! I applied the patch to trunk at r32723 and ruby_1_9_3 at r32724. Closing. ---------------------------------------- Bug #2768: SEGV when using OpenSSL::Cipher (AES) in certain way http://redmine.ruby-lang.org/issues/2768 Author: Julian W��lde Status: Closed Priority: Normal Assignee: Hiroshi Nakamura Category: ext Target version: 1.9.3 ruby -v: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux] =begin this command gives me an SEGV on my boxes: ruby -e 'require "openssl";OpenSSL::Cipher::AES128.new("ECB").update "testtesttesttest"' while this command does not: ruby -e 'require "openssl";OpenSSL::Cipher::AES128.new("ECB").update "testtesttesttes"' A friend of mine reproduced it on his mac(1.8.6). It also worked on a server where ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] is running. It works for any kind of Blockciphermode, but not for other ciphers (e.g. BF) =end -- http://redmine.ruby-lang.org