Skip to content
Commit a2d33e82 authored by Tony Cook's avatar Tony Cook Committed by Dominic Hargreaves
Browse files

don't recurse infinitely in Data::Dumper

Add a configuration variable/option to limit recursion when dumping
deep data structures.

Defaults the limit to 1000, which can be reduced or increase, or
eliminated by setting it to 0.

This patch addresses CVE-2014-4330.  This bug was found and
reported by: LSE Leading Security Experts GmbH employee Markus
Vervier.

[Patch backported to 5.20 by Dominic Hargreaves for Debian.]

Origin: http://perl5.git.perl.org/perl.git/commit/19be3be6968e2337bcdfe480693fff795ecd1304
Patch-Name: fixes/data_dump_infinite_recurse.diff
parent 8b487696
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment