There is an Assertion 'block_found' failed at js-parser-statm.c:2003 parser_parse_try_statement_end in JerryScript 2.2.0.
cpe:2.3:a:jerryscript:jerryscript:2.2.0:*:*:*:*:*:*:*
88EBD351-0E34-480A-906A-603AC3920FBF
OR
###### JerryScript revision
d06c3a7

###### Build platform
Ubuntu 16.04.6 LTS (Linux 4.15.0-99-generic x86_64)

###### Build steps
```
python tools/build.py --profile=es2015-subset --lto=off --compile-flag=-g \
--error-messages=on --debug --compile-flag=-g --strip=off --logging=on \
--compile-flag=-fsanitize=address --stack-limit=15
```

###### Test case
```
var errorMessage = "toStringThrows"

var toStringThrows = {
  "foo//bar/baz//foo"
}

try {
  var obj = {};
  obj[toStringThrows] = 3;
  assert(false);
} catch (e) {
  assert(e.message == errorMessage);
}
```

###### Output
```
ICE: Assertion 'block_found' failed at /home/JerryScript/jerryscript/jerry-core/parser/js/js-parser-statm.c(parser_parse_try_statement_end):2003.
Error: ERR_FAILED_INTERNAL_ASSERTION
Aborted (core dumped)
```

Credits: This vulnerability is detected by chong from OWL337.
Assertion 'block_found' in parser_parse_try_statement_end
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : Assertion 'block_found' in parser_parse_try_statement_end
Issue date:

--- start body ---
###### JerryScript revision
d06c3a7

###### Build platform
Ubuntu 16.04.6 LTS (Linux 4.15.0-99-generic x86_64)

###### Build steps
```
python tools/build.py --profile=es2015-subset --lto=off --compile-flag=-g \
--error-messages=on --debug --compile-flag=-g --strip=off --logging=on \
--compile-flag=-fsanitize=address --stack-limit=15
```

###### Test case
```
var errorMessage = "toStringThrows"

var toStringThrows = {
  "foo//bar/baz//foo"
}

try {
  var obj = {};
  obj[toStringThrows] = 3;
  assert(false);
} catch (e) {
  assert(e.message == errorMessage);
}
```

###### Output
```
ICE: Assertion 'block_found' failed at /home/JerryScript/jerryscript/jerry-core/parser/js/js-parser-statm.c(parser_parse_try_statement_end):2003.
Error: ERR_FAILED_INTERNAL_ASSERTION
Aborted (core dumped)
```

Credits: This vulnerability is detected by chong from OWL337.
--- end body ---

comments :
--- start comments ---

--- end comments ---