Skip Menu |
 

This queue is for tickets about the Data-Dump-Streamer CPAN distribution.

Report information
The Basics
Id: 12504
Status: resolved
Priority: 0/
Queue: Data-Dump-Streamer

People
Owner: Nobody in particular
Requestors: jjore [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)

Attachments
Data-Dump-Streamer-1.11.diff



Subject: Overloaded ${} magic in dumped data is not bypassed
Download (untitled) / with headers
text/plain 443b
The overloaded method ${} is called and not bypassed when DDS dumps an item. In several places you say $$item without checking for overloading and bypassing it. use Data::Dump::Streamer; my $o = bless \ [], 'T'; my $d = Dump(); $d->Data( $o ); # dies with ${} dereferring $d->Out; package T; use Carp 'confess'; use overload( '${}' => sub { confess "No \${} should happen" }, '""' => sub { confess "No \"\" should happen" } );
From: jjore [...] cpan.org
Download (untitled) / with headers
text/plain 100b
The follow patch updates DDS to 1.11, corrects the problem, and adds tests to check for the problem.

Message body is not shown because it is too large.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.