BigDecimal can be provoked into a big infinite loop
---------------------------------------------------

                 Key: JRUBY-3887
                 URL: http://jira.codehaus.org/browse/JRUBY-3887
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.3.1
         Environment: Solaris 10 U6
            Reporter: Ben Summers
         Attachments: bigdecimal_segfault_fix_test.rb

The attached file tests that the BigDecimal security fix has been applied (to 
the MRI interpreter). MRI returns almost immediately. JRuby appears to go into 
an infinite loop.

/opt/jruby/bin/jruby bigdecimal_segfault_fix_test.rb
Loaded suite test/unit/bigdecimal_segfault_fix_test
Started
   ... never terminates.

$ /opt/jruby/bin/jruby --version                                
jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 2fd6c3d) (Java HotSpot(TM) Client VM 
1.6.0_11) [x86-java]





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to