Project

General

Profile

Actions

Bug #2768

closed

SEGV when using OpenSSL::Cipher (AES) in certain way

Added by zeri (Julian Wälde) about 14 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux]
Backport:
[ruby-core:28269]

Description

=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


Files

calltrace (3.4 KB) calltrace zeri (Julian Wälde), 02/21/2010 12:15 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0