Skip Menu |

This queue is for tickets about the JSON-XS CPAN distribution.

Report information
The Basics
Id: 28435
Status: resolved
Priority: 0/
Queue: JSON-XS

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

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



Subject: using JSON::XS to encode sparse arrays causes perl segfault
Giving JSON::XS an entity to encode that is (or contains) a sparse array, and it will segfault/bus error. Example code: use JSON::XS; use Data::Dumper; my @list; $list[0] = "foo"; $list[3] = "fibble"; print Dumper(\@list); my $jsonobject = JSON::XS->new->utf8->pretty(1); print $jsonobject->encode(\@list); # this causes segfault of perl
Subject: Re: [rt.cpan.org #28435] using JSON::XS to encode sparse arrays causes perl segfault
Date: Tue, 24 Jul 2007 00:43:52 +0200
To: Jay Kuri via RT <bug-JSON-XS [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
Hi, your report will be ignored when sent to rt.cpan.org and not the official contact address mentioned in the module documentation. Please close your report again and use the contact address from the module documentation to report any issues. If this is an inconvenience to you please consider petitioning the rt.cpan.org authors to make their service optional and not enforced, so this inconvenience can be avoided in the future. Thanks a lot, Marc Lehmann <schmorp@schmorp.de>
Issue resolved in 1.42 release.