[MacRuby] #1313: #to_json will cause a stack overflow if generating a collection with objective-c objects

MacRuby ruby-noreply at macosforge.org
Tue Jun 21 18:55:59 PDT 2011


#1313: #to_json will cause a stack overflow if generating a collection with
objective-c objects
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…         
     Type:  defect                  |      Status:  new                   
 Priority:  critical                |   Milestone:                        
Component:  MacRuby                 |    Keywords:  reduction 0.11-blocker
------------------------------------+---------------------------------------

Comment(by mrada@…):

 I don't want to modify json either, but I don't think we can fix this
 problem without making at least one or two small changes.

 You have already made one change before that we have to revert, but is
 blocked by #1326.

 I would prefer the least conceptual change, which is what I linked to
 earlier in my MR fork; but the alternative solution I proposed would be
 contained to a single file where we modify a single method.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1313#comment:7>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list