develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128588] Tied hash magic ignored in references the first time'round

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
July 13, 2016 14:23
Subject:
[perl #128588] Tied hash magic ignored in references the first time'round
Message ID:
rt-4.0.18-8448-1468419794-1545.128588-15-0@perl.org
On Sat Jul 09 18:59:39 2016, sprout wrote:
> The other failing test is ext/Hash-Util-FieldHash/t/11_hashassign.t,
> which gives me:
> 
> Rogue call of 'HUF_watch_key_safe' at lib/Test/Builder.pm line 689.
> 
> Line 689 of Builder.pm is:
> 
> return unless ref $$thing;
> 
> which seems pretty innocuous.
> 
> The error is coming from ext/Hash-Util-FieldHash.xs.  I have not
> looked into why.

This particular failure is due to calling SvGETMAGIC on a hash.  It should be verified that the referent is a scalar (< SVt_PVAV) before doing that.

I have yet to look into the glob failure, which still baffles me.


-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=128588

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About