Re: [perl #55640] [BUG] [PATCH] oo_get_class segfaults

2008-06-11 Thread NotFound
On Thu, Jun 12, 2008 at 1:23 AM, chromatic <[EMAIL PROTECTED]> wrote: > What's it look like when patching pmc_type to deal with NULL STRING *? I'm > not saying that's the best option; I'm just looking at the alternatives. We must change his signature to do that. I tried the mininal change. --

Re: [perl #55640] [BUG] [PATCH] oo_get_class segfaults

2008-06-11 Thread chromatic
On Wednesday 11 June 2008 14:44:34 NotFound wrote: > I've found a bug in oo_get_class, it segfaults when calling pmc_type > with a NULL STIRNG * > > This short pir code shows the problem: > > .sub main > $P0= get_root_namespace > $P1= get_class $P0 > .end > > The attached patch fixes it. What