Project

General

Profile

« Previous | Next » 

Revision 4bd17e7c

Added by kosaki (Motohiro KOSAKI) over 12 years ago

merge revision(s) 33333:

    * ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being
      fed arbitrary string values.
      Clearly distinguish between the cases "universal, infinite and
      not a SEQUENCE or SET" and "universal SEQUENCE or SET, possibly
      infinite". Raise error for universal tags that are not infinite.

    * test/openssl/test_asn1.rb: add a test for this.
      Thanks to Hiroshi Yoshida for reporting this bug.
      [Bug #5363] [ruby-dev:44542]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e