Thanks, applied as r28882.
By chromatic's suggestion, here is a different approach: change pmc_type
signature to allow a null string argument, returning enum_type_undef in
that case.
Other changes in this patch are replacing 0 with enum_type_undef in the
same function, and adding a test in t/pmc/namespace.t checking that
ge
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.
--
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
# New Ticket Created by NotFound
# Please include the string: [perl #55640]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=55640 >
I've found a bug in oo_get_class, it segfaults when calling pmc_type
with a NULL STIRNG *
T