There is an Assertion 'vp != resPtr' failed at jsiEval.c in Jsish v3.5.0.
cpe:2.3:a:jsish:jsish:3.5.0:*:*:*:*:*:*:*
E97897F2-55BD-40DD-9F33-7980D892A505
OR
###### Jsish revision

Commit: [9fa798e](https://github.com/pcmacdon/jsish/commit/9fa798e35d7a753672d1bd16e98b124e7b2d2899)

Version: v3.5.0



###### Build platform

Ubuntu 18.04.5 LTS (Linux 5.4.0-44-generic x86_64)



###### Build steps

```bash
export CFLAGS='-fsanitize=address'
make
```



###### Test case

```javascript
(function(){
    var JSEtest = 1;
    for (var __loopvar3 = 0; JSEtest.length < (1) && __loopvar3 < 3; JSEtest.length++ + __loopvar3++) {
      JSEtest = 1;
    }
})();
```

###### Execution steps & Output

```bash
$ ./jsish/jsish poc.js
jsish: src/jsiEval.c:1020: jsiEvalSubscript: Assertion `vp != resPtr' failed.
[2]    11225 abort      jsish poc.js
```

Credits: Found by hopefly from OWL337.
Assertion `vp != resPtr' failed at jsiEval.c:1020:  jsiEvalSubscript.
This is a GitHub Issue
repo:jsish
owner:pcmacdon
Title : Assertion `vp != resPtr' failed at jsiEval.c:1020:  jsiEvalSubscript.
Issue date:

--- start body ---
###### Jsish revision

Commit: [9fa798e](https://github.com/pcmacdon/jsish/commit/9fa798e35d7a753672d1bd16e98b124e7b2d2899)

Version: v3.5.0



###### Build platform

Ubuntu 18.04.5 LTS (Linux 5.4.0-44-generic x86_64)



###### Build steps

```bash
export CFLAGS='-fsanitize=address'
make
```



###### Test case

```javascript
(function(){
    var JSEtest = 1;
    for (var __loopvar3 = 0; JSEtest.length < (1) && __loopvar3 < 3; JSEtest.length++ + __loopvar3++) {
      JSEtest = 1;
    }
})();
```

###### Execution steps & Output

```bash
$ ./jsish/jsish poc.js
jsish: src/jsiEval.c:1020: jsiEvalSubscript: Assertion `vp != resPtr' failed.
[2]    11225 abort      jsish poc.js
```

Credits: Found by hopefly from OWL337.
--- end body ---

comments :
--- start comments ---

--- end comments ---