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

[REG 5.4.2 -> 5.5.0] Malformed input file crashes moc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.6.2
    • 5.5.0, 5.6.1
    • Build tools: moc
    • Ubuntu 16.04 64 bit

      moc crashes when run on the attached malformed file.

      It's clear that moc can't generate something useful from this file but still it should not crash. Qt 5.4.2 finished safely with an error message:

      /tmp/crashmoc.h:0: Note: No relevant classes found. No output generated.
      

        1. crashmoc.h
          0.0 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ogoffart Olivier Goffart (Woboq GmbH)
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes