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

Shader parser goes into endless loop on broken input

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.2
    • 5.3.0
    • Quick: SceneGraph
    • None
    • f43d6f8e530b236c6cae256022de0d4ef8559f89

    Description

      The while (t != Tokenizer::Token_EOF) loop in qsgShaderRewriter_insertZAttributes never ends if input is "", it keeps iterating on an "invalid" token.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            hjk hjk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes