[MacRuby] #891: Bus error with OpenSSL::Netscape::SPKI.to_der.
#891: Bus error with OpenSSL::Netscape::SPKI.to_der. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ #!ruby #$ cat test_spki.rb require "openssl" spki = OpenSSL::Netscape::SPKI.new p spki p spki.to_der }}} Result: {{{ $ ruby -v test_spki.rb ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-darwin10] MBYwDDAIMAMGAQADAQAWADADBgEAAwEA "0\x160\f0\b0\x03\x06\x01\x00\x03\x01\x00\x16\x000\x03\x06\x01\x00\x03\x01\x00" $ macruby -v test_spki.rb MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, x86_64] MBYwDDAIMAMGAQADAQAWADADBgEAAwEA zsh: bus error macruby -v test_spki.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/891> MacRuby <http://macruby.org/>
#891: Bus error with OpenSSL::Netscape::SPKI.to_der. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by watson1978@…): Similar bug: {{{ #!ruby #$ cat test_pkcs7.rb require "openssl" pkcs7 = OpenSSL::PKCS7.new p pkcs7 p pkcs7.to_der }}} Result: {{{ $ ruby test_pkcs7.rb -----BEGIN PKCS7----- MAMGAQA= -----END PKCS7----- "0\x03\x06\x01\x00" $ macruby test_pkcs7.rb -----BEGIN PKCS7----- MAMGAQA= -----END PKCS7----- zsh: bus error macruby test_pkcs7.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/891#comment:1> MacRuby <http://macruby.org/>
#891: Bus error with OpenSSL::Netscape::SPKI.to_der. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Should be fixed in r4508. -- Ticket URL: <http://www.macruby.org/trac/ticket/891#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby