Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54687

QJSEngine crashes when evaluating invalid javascript code

    XMLWordPrintable

Details

    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            erikv Erik Verbruggen
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes