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: 21077
Status: resolved
Priority: 0/
Queue: YAML

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

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



Subject: Segfault in YAML::LoadFile
Pass the following YAML file to YAML::LoadFile, then YAML will crash with Segmentation Fault. http://blog.bulknews.net/tmp/ba41704178d7d53f67abe788cc9abb9b.yaml perl 5.8.4 on Debian.
On Sat Aug 19 04:50:01 2006, MIYAGAWA wrote: Show quoted text
> Pass the following YAML file to YAML::LoadFile, then YAML will crash > with Segmentation Fault. > http://blog.bulknews.net/tmp/ba41704178d7d53f67abe788cc9abb9b.yaml > > perl 5.8.4 on Debian.
Just as a side note: https://bugzilla.redhat.com/show_bug.cgi?id=192400
Still a valid bug: $ perl -MYAML -e '$a="a"x50000;$a="---\ntext: \"$a\"\n"; Load($a)' Complex regular subexpression recursion limit (32766) exceeded at ../lib/perl5/YAML/Loader.pm line 519. YAML Error: Can't parse double quoted string Code: YAML_PARSE_ERR_BAD_DOUBLE Line: 2 Document: 1 at ../lib/perl5/YAML.pm line 36 -- Olivier Mengué - https://metacpan.org/author/dolmen https://github.com/dolmen/
Hi there, I managed to create a fix. You can check it out here: https://rt.cpan.org/Ticket/Display.html?id=90593 Greetings, Thorsten
fixed in 0.85