From: Robert Thau Date: 2008-06-24T23:47:19+09:00 Subject: Re: Ruby 1.9.0/1.8.7/1.8.6/1.8.5 new releases (Security Fix) Igal Koshevoy wrote: > > So before we discard the 17222 patch too casually ... can anyone explain > what Matz was trying to do there? He clearly went through a fair amount > of effort to try to copy those crefs, but why? And does anything else > depend on that change? > Well, as noted earlier, really understanding this code requires a fairly deep grounding in the internal data structures of MRI 1.8, which I haven't got. But, for what little it's worth... The code affected by the 17222 patch seems to mostly have to do with the internal implementation details of "initialize_copy" methods on Module and Class, and the cloning of an object's singleton class when the object itself is cloned. The newer, post-17222 versions seem to copy more... or try to. More, perhaps, if I've got the time to investigate the details of MRI 1.8 representations of method tables... Robert Thau rst AT {ai,alum}.mit.edu -- Posted via http://www.ruby-forum.com/.