chakra-core / chakra-core/ChakraCore

ASSERTION Failure: "Re-add of deleted property NYI in PathTypeHandler" in ChakraCore/lib/Runtime/Types/PathTypeHandler.cpp

Open
#6,810 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### commit
41ad58a9eebf8d52a83424c8fccfaacdb14105ec

### Build platform
Ubuntu 20.04

### Build steps

```
./build.sh --debug
```

### poc

```js
var bar = function foo() {};

delete bar.length;

bar.toString = '';

delete Function.prototype.length;

bar.length = 13;
```

### assert log

```
ASSERTION 2403445: (ChakraCore/lib/Runtime/Types/PathTypeHandler.cpp, line 3920) Re-add of deleted property NYI in PathTypeHandler
Failure: (0)
Illegal instruction
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.