Please sign in to comment.
Fix segfault on blindly accessing foreign magic
We need to be more careful when introspecting arbitrary Perl 5 objects. Other modules may attach '~' magic, so we need to check the presence of a mg_ptr, before referencing it to access the magic key.
- Loading branch information...