Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
Windows
-
06ed1ad17abe1ef597d4ecf86962da5ac21365e5
Description
Evaluating string "12\n----12" with QJSEngine crashes the application.
Steps to reproduce:
- Run attached sample.
- EXPECTED: Program properly runs.
- ACTUAL: Program crashes.
Somewhy only even number of minuses in the input string causes the crash. Odd amount of minuses seem to work.
Attachments
For Gerrit Dashboard: QTBUG-54687 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
165527,3 | JS: Check for errors before using sub-expression results | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |