Project

General

Profile

« Previous | Next » 

Revision 8b7e1087

Added by emboss over 12 years ago

  • 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/trunk@33333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e