Skip Menu |
 

This queue is for tickets about the JavaScript-V8 CPAN distribution.

Report information
The Basics
Id: 86731
Status: resolved
Priority: 0/
Queue: JavaScript-V8

People
Owner: Nobody in particular
Requestors: alankila [...] bel.fi
Cc:
AdminCc:

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



Subject: Undefined value poorly converted when member of hash or array
Download (untitled) / with headers
text/plain 445b
The function v82sv uses static &PL_sv_undef reference when converting null and undefined value. However, if this value becomes a member of hash or array, which can happen, then this value is not upgradeable to anything else. A test case like this should be sufficient of demonstrating the problem: JavaScript::V8::Context->new()->eval("[{'x': null}]")->[0]{x} = 1; and it results in error "Modification of non-creatable hash value attempted".
Fixed, will be released shortly. Thanks!


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.