Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 69450
Status: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: trs [...] bestpractical.com
Cc:
AdminCc:

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



Subject: YAML.pm doesn't roundtrip with itself
Date: Wed, 13 Jul 2011 15:56:22 -0400
To: bug-YAML [...] rt.cpan.org
From: Thomas Sibley <trs [...] bestpractical.com>
tom@blip ~ $ perl -MYAML -e 'Load(Dump({ foo => join "", q{"}x40000 }))' Complex regular subexpression recursion limit (32766) exceeded at /opt/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/YAML/Loader.pm line 535. YAML Error: Can't parse single quoted string Code: YAML_PARSE_ERR_BAD_SINGLE Line: 2 Document: 1 at /opt/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/YAML.pm line 36 This is obviously a contrived example, but we've run into real world cases of it breaking.
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/115 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
This should be fixed in master by now, version 1.25 coming out soon, closing, thanks!