Node: Crash at v8::Object::GetRealNamedPropertyAttributes

Created on 3 Aug 2020  路  1Comment  路  Source: nodejs/node

  • Version:
    v14.6.0

  • Platform:
    ubuntu 19.04

What steps will reproduce the bug?

const vm = require('vm');

var handler = {
    getOwnPropertyDescriptor: () => {
        return {};
    }
};

const source = `p=6`;

var proxy = new Proxy({}, handler);
const ctx = vm.createContext(proxy);

script = new vm.Script(source);
script.runInContext(ctx);

How often does it reproduce? Is there a required condition?

nothing

What is the expected behavior?

no error

What do you see instead?

crash

image
attachment core.zip

C++ V8 Engine confirmed-bug vm

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mcollina picture mcollina  路  3Comments

filipesilvaa picture filipesilvaa  路  3Comments

seishun picture seishun  路  3Comments

willnwhite picture willnwhite  路  3Comments

Brekmister picture Brekmister  路  3Comments